This is a followup from gcc PR48055 [1], where a warning from ld is emitted: /home/uros/gcc-svn/trunk/gcc/testsuite/gcc.c-torture/execute/builtins/lib/main.c -w -O2 -flto -lm -o /space/uros/gcc-build/gcc/testsuite/gcc5/memcpy-chk.x9^M /usr/lib/gcc/alpha-unknown-linux-gnu/4.4.5/../../../../alpha-unknown-linux-gnu/bin/ld: Warning: alignment 8 of symbol `buf5' in /tmp/ccgnDykf.ltrans1.ltrans.o is smaller than 16 in /tmp/ccc3QsSw.o.ironly^D^M /usr/lib/gcc/alpha-unknown-linux-gnu/4.4.5/../../../../alpha-unknown-linux-gnu/bin/ld: Warning: alignment 8 of symbol `buf7' in /tmp/ccgnDykf.ltrans1.ltrans.o is smaller than 16 in /tmp/ccc3QsSw.o.ironly^D^M /usr/lib/gcc/alpha-unknown-linux-gnu/4.4.5/../../../../alpha-unknown-linux-gnu/bin/ld: Warning: alignment 8 of symbol `buf1' in /tmp/ccgnDykf.ltrans1.ltrans.o is smaller than 16 in /tmp/ccc3QsSw.o.ironly^D^M According to Jan, these internal warnings should not be generated. [1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48055
This should work with 2 stage linker.
Fixed on HEAD by http://sourceware.org/ml/binutils/2010-11/msg00371.html *** This bug has been marked as a duplicate of bug 12246 ***
Sorry, missed that this was for the 2.21 branch; this, and most other plugin-related bugs are still there. Current plan is to do a big backport and release a 2.21.1 in approximate synchrony with gcc 4.6 Taking assignment so I remember to include this when I do the backport.
Fixed a long time ago.