This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Need some help with a possible bug


(should have been gcc-help@gcc.gnu.org, please send any follow-ups there)

On Wed, 23 Apr 2014, George R Goffe wrote:

I'm trying to build the latest gcc

Do you really need gcj? If not, please disable java.

and am getting a message from the process "collect2: error: ld returned 1 exit status" for this library /usr/lsd/Linux/lib/libgmp.so. Here's the full msg: "/usr/lsd/Linux/lib/libgmp.so: could not read symbols: File in wrong format"

You are doing a multilib build (--disable-multilib if you don't want that), so it tries to build both a 64 bit and a 32 bit versions of libjavamath.so, both of which want to link to GMP. So you need both versions of GMP installed as well.

I thought the configure script in classpath would detect your missing 32 bit GMP and disable use of GMP in that case, but apparently not... You may want to file a PR in bugzilla about that if there isn't one already. But you'll need to provide more info there: your configure command line, the file config.log in the 32 bit version of classpath, etc.

--
Marc Glisse


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]