[SM-Grimoire-Bugs] [Bug 14689] ltrace depends on LIBELF ... elfutils broken

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Thu Sep 11 09:24:54 EDT 2008


http://bugs.sourcemage.org/show_bug.cgi?id=14689


Thomas Orgis <sobukus at sourcemage.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ltrace depends on LIBELF    |ltrace depends on LIBELF ...
                   |                            |elfutils broken




--- Comment #4 from Thomas Orgis <sobukus at sourcemage.org>  2008-09-11 08:24:53 ---
So that is the current situation.

1. gcc-4.3 screws up the elfutils build with lots of unresolved symbols to
inline functions if there are no optimizations set.
I added minimal -O to test grimoire with commit
13c944ae0db51b8e1246d2a3a302bf7ae9d3e7c8
That makes the build succeed for me (as does having any -O in CFLAGS).

2. gcc-4.2 screws up the elfutils build with 
gcc -Wall -Wshadow -std=gnu99   -Wunused -Wextra -Wformat=2  -march=athlon-xp
-mmmx -mfpmath=sse -msse -m3dnow -pipe -O2 -rdynamic -s -o ld ld.o ldgeneric.o
ldlex.o ldscript.o symbolhash.o sectionhash.o versionhash.o ../libebl/libebl.a
../libelf/libelf.so ../lib/libeu.a  -ldl
ldgeneric.o: In function `ld_generic_open_outfile':
ldgeneric.c:(.text+0x905e): warning: the use of `mktemp' is dangerous, better
use `mkstemp'
ldgeneric.o: In function `ld_generic_create_outfile':
ldgeneric.c:(.text+0x55c2): undefined reference to `__builtin_popcount'
collect2: ld returned 1 exit status
make[2]: *** [ld] Error 1
rm i386_ld.o
make[2]: Leaving directory `/usr/src/elfutils-0.135/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/elfutils-0.135'
make: *** [all] Error 2

I have no solution for that one. I think I needed to upgrade elfutils ...
because of gcc-4.3 ...?... now we have the situation that the upgrade
apparently breaks the current compiler in stable.

Frick.
Anyhow, screen works with both libelfs, have to check ltrace again.


-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list