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 2015-02-20 00:22, Mark Wielaard wrote:
> On Thu, 2015-02-19 at 15:37 +0300, Alexander Cherepanov wrote:
>> On 2015-02-18 22:57, Mark Wielaard wrote:
>>> On Tue, 2015-02-17 at 21:00 +0300, Alexander Cherepanov wrote:
>>>> Have to use this patch when building 32-bit version of elfutils for the
>>>> latest round of fuzzing.
>>>
>>> Sorry about that. It was introduced by my commit b543cd "libelf: Fix
>>> elf_newdata when raw ELF file/image data is available".
>>>
>>> I see there is more stuff broken on i686. Also introduced by me. Sigh.
>>
>> 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
configure:5556: $? = 1
configure: failed program was:
[skip]
configure:5565: result: no

Both

./configure CFLAGS=-m32
./configure --build=x86_64-linux-gnu --host=i386-linux-gnu 
--target=i386-linux-gnu CFLAGS=-m32

gives the same result.

-- 
Alexander Cherepanov

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