On Wed, Nov 26, 2014 at 05:24:37PM -0300, Cristian Rodríguez wrote: > El 26/11/14 a las 15:31, Peter Wu escribió: > > > [1]: https://sourceware.org/bugzilla/show_bug.cgi?id=17639 > > > >https://bugs.freedesktop.org/show_bug.cgi?id=86666 > >--- > > v2: removed -ffunction-sections and -fdata-sections too, mention > > that binutils fixed the bug. > >--- > > -1 Just fix the linker and move along... not our bug IMHO.
Hm, with this patch the build fails for me with ../src/shared/ptyfwd.c:117: error: undefined reference to 'sd_event_source_unref' ../src/shared/ptyfwd.c:120: error: undefined reference to 'sd_event_exit' ../src/shared/ptyfwd.c:127: error: undefined reference to 'sd_event_source_unref' ../src/shared/ptyfwd.c:134: error: undefined reference to 'sd_event_exit' ../src/shared/ptyfwd.c:151: error: undefined reference to 'sd_event_source_unref' ../src/shared/ptyfwd.c:154: error: undefined reference to 'sd_event_exit' ../src/shared/ptyfwd.c:180: error: undefined reference to 'sd_event_source_unref' ../src/shared/ptyfwd.c:183: error: undefined reference to 'sd_event_exit' ../src/shared/ptyfwd.c:374: error: undefined reference to 'sd_event_unref' ../src/shared/ptyfwd.c:298: error: undefined reference to 'sd_event_ref' ../src/shared/ptyfwd.c:300: error: undefined reference to 'sd_event_default' ../src/shared/ptyfwd.c:345: error: undefined reference to 'sd_event_add_io' ../src/shared/ptyfwd.c:349: error: undefined reference to 'sd_event_add_io' ../src/shared/ptyfwd.c:353: error: undefined reference to 'sd_event_add_io' ../src/shared/ptyfwd.c:360: error: undefined reference to 'sd_event_add_signal' ../src/shared/pty.c:436: error: undefined reference to 'sd_event_source_set_io_events' ../src/shared/pty.c:468: error: undefined reference to 'sd_event_add_io' ../src/shared/pty.c:477: error: undefined reference to 'sd_event_source_set_prepare' ../src/shared/pty.c:483: error: undefined reference to 'sd_event_add_child' collect2: error: ld returned 1 exit status Makefile:10333: recipe for target 'login.la' failed (and many repeats for other libraries). $ rpm -q gcc binutils gcc-4.9.2-1.fc21.x86_64 binutils-2.24-21.fc21.x86_64 ../configure CFLAGS='-g -Og -ftrapv' CPPFLAGS=-DVALDGRIND=1 --disable-compat-libs --disable-kdbus --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib64 --enable-lz4 --enable-xz --enable-terminal I think I'm with Christian here... let sleeping dogs lie. Zbyszek _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
