This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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: [PATCH] libelf: Drop internal_function from __libelf_set_data_list_rdlock.


On Fri, Feb 20, 2015 at 01:43:34AM +0300, Alexander Cherepanov wrote:
> On 2015-02-20 00:22, Mark Wielaard wrote:
> >On Thu, 2015-02-19 at 15:37 +0300, Alexander Cherepanov wrote:
> >>Another problem I met with 32-bit build is that nm lost its -C option
> >>(and there is /* #undef USE_DEMANGLE */ in config.h).
> >
> >demangling support depends on the standard c++ demangler. Does
> >config.log say you have __cxa_demangle in -lstdc++ ?
> 
> It says this:
> 
> configure:5531: checking for __cxa_demangle in -lstdc++
> configure:5556: gcc -o conftest -m32   conftest.c -lstdc++   >&5
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-linux-gnu/4.9/libstdc++.so when searching for -lstdc++
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-linux-gnu/4.9/libstdc++.a when searching for -lstdc++
> /usr/bin/ld: cannot find -lstdc++
> collect2: error: ld returned 1 exit status

So it cannot find the 32bit variant of libstdc++.
On Fedora I have to install libstdc++-devel.i686 to get it.


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