Build fails with x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o atomix main.o board.o undo.o goal.o goal-view.o clock.o libatomix.a -lgnomeui-2 -lSM -lICE -lgnomevfs-2 -lgconf-2 -lxml2 -lbonoboui-2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -pthread -lORBit-2 -lgthread-2.0 -pthread -lgobject-2.0 -lglib-2.0 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o level-convert playfield.o tile.o level.o level-convert.o theme.o -L../src -lgnomeui-2 -lSM -lICE -lgnomevfs-2 -lgconf-2 -lxml2 -lbonoboui-2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -pthread -lORBit-2 -lgthread-2.0 -pthread -lgobject-2.0 -lglib-2.0 /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: libatomix.a(canvas_helper.o): undefined reference to symbol 'ceil@@GLIBC_2.2.5' /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'ceil@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line /lib64/libm.so.6: could not read symbols: Invalid operation Reproducible: Always
Created attachment 356906 [details] emerge --info
attach the whole build log, not only what you think is relevant
tested with gold (extremely prone to underlinking): works fine so removing the blocker unless it get's confirmed
Created attachment 356950 [details] build log
you compressed it twice
Created attachment 356962 [details, diff] build log (uncompressed) Oops, forgot to decompress the log
Still fails to build. Attaching a new build log and info.
Created attachment 363910 [details] emerge log
Created attachment 363912 [details] emerge --info
I don't have this problem too. But here the call to ceil from canvas_helper is inlined so the libm is not needed. I suggest to add -lm to the link command to support the case where compiler does not inline that call
SHould be fixed now. Please test
Builds correctly, thanks for the fix.