X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <5A1AD7A5.7020105@gmx.de> Date: Sun, 26 Nov 2017 16:03:01 +0100 From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com]" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7 MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Linker error due to multiple symbol definitions when compiling gdb 8.0.1 using gcc720 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:5+S51HkfCVBTnvfsLrsCAiAvbJRpLzoyldig/SKXsIuUJ64uYvI Rqh/rM0BnmK71sWJnRXGxeOKIDxHUcayuxxSRnpM2onRmaPwSR0cKk4AbhFzp6bPdpVB+IO 06uBlI/juwAHN5XrozTwV+BcHiTB6z9N/w/kbLsnzKtzgKPlbWRjMI1JdQRCJrY6ygar+4z 3v6xt5pHiER0ucLy3T98g== X-UI-Out-Filterresults: notjunk:1;V01:K0:c/OYHl7sNFk=:Rpg9XENeLP1tjRI+30YYJY tQbmaAVN93nMKRemapY5o5Lt4YB+FcF4pZeNl2ammR2ssvnFg3bbCDF3cr9EVOMO2lFF4/4uc T/LZZ/C1IUm1y+IBtEoxBg/nz+JL/zy7w0eekMMqg63G6ggcMhVaklJGbGtdFsPROUDNJyQp8 ImflEn57jYRMMjljLwPKsfqLj50ffU+ntqloIetC6G84H0owPVSGycg4QTeX+nVcxeWE3LS4K l8K7VJjKcJmZTzKh310FUh8Yuhl74Adbkgkj1vB7FzyNknASmy0kvgro27XhUPxpopVrUH8BS snrg1oiqD/GX0rpk+6sAkHA9e94hgjrHTB4fr4Xj7j8AtZiBs9QruKYPJoCU8U4Zyr87Qn5CK qUQGSyB5VgzZykqjiY/QXjLUT3OADDMXW/aKT+dAyL6s8np67S06fzHcA876/0hpoY1/eHo4G /px4EN5EvneBcUecfHBBI3DVledM5cO4h9pUWIK9m3FB1jgVwsvKZFGfcpquikenblyjfQE1B GLWvAY888A/SGe2uB3OKaGdCs3SJMPR/2q7u0LXizkseSBYDie/zSxLkIGw55sroPomKIe9Aq 11+AbW+EjB/Q6jJpUNitDg20fE6DcjFZwrUvi2vRQ+lbiWrarnbvV+qrDHJBKbhNsY/ywN7Sr 4qTJRPf7lvYq4GnuzzqqLtjdW/i7OWqPX0JaMui+w+AJd81SC7LXxx4ffP8bh/IsqfZVjfyLE eOlDHvwDmKLH9pa/kNIfGSb2MMQ5QthuEpJqs0l0XswXJ7IqjPedcncVE1CClmwMZxhF5GQMN 5ZMm5Ujd0FTWvuIrl1BzgWf0StY5/m06LK3sZzFJCYSSWONSFE= Reply-To: djgpp AT delorie DOT com I am trying to compile gdb-8.0.1. Very unfortunately it requires to use of a c++ compiler that provides C++11 support. I have tried gcc640 and gcc720 and now I get linker problemes because certain symbols are provided twice. One time by libstdcxx.a and a second time by gdb's own build-gnulib/import/libgnu.a. The symbol is frexpl but there may be a lot mores. This function is neither provided by libc nor by libm.a. It seems to be that the gpp port thus provides some substitution for this function and probably for a lot of other missing ones. Now the question arises, why this is not recognized by the configure script? If the possibility exists that a compiler extends the existing headers and libraries, why this is not found by the configure script? Is there something wrong with the gpp installation so that certain paths are not updated and thus not seen later by the configure script? Must djgpp.env be adjust to automatically reflect the special headers provided by the c++ compiler? Of course, all this is not really a problem. The configure script can always be adjusted to ignore the gnulib version and to use the one provided by the compiler. But the configuration error will continue in other packages that will also need to get theit configure script adjusted accortdingly. Regards, Juan M. Guerrero