gcc-4.6-spu: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found

Bug #792706 reported by Steve Langasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-4.6 (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

Binary package hint: gcc-4.6

newlib fails to build in oneiric with gcc-4.6, because gcc-4.6-spu appears to not work:

Making all in argz
make[6]: Entering directory `/build/buildd/newlib-1.18.0/build-spu/spu/newlib/libc/argz'
spu-gcc -B/build/buildd/newlib-1.18.0/build-spu/spu/newlib/ -isystem /build/buildd/newlib-1.18.0/build-spu/spu/newlib/targ-include -isystem /build/buildd/newlib-1.18.0/newlib/libc/include -B/build/buildd/newlib-1.18.0/build-spu/spu/libgloss/spu -L/build/buildd/newlib-1.18.0/build-spu/spu/libgloss/libnosys -L/build/buildd/newlib-1.18.0/libgloss/spu -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.18.0\" -DPACKAGE_STRING=\"newlib\ 1.18.0\" -DPACKAGE_BUGREPORT=\"\" -I. -I../../../../../newlib/libc/argz -D_POSIX_MODE -DREENTRANT_SYSCALLS_PROVIDED -DMISSING_SYSCALL_NAMES -ffunction-sections -fdata-sections -DMISSING_SYSCALL_NAMES -fno-builtin -g -O2 -fno-stack-protector -U_FORTIFY_SOURCE -c -o lib_a-dummy.o `test -f 'dummy.c' || echo '../../../../../newlib/libc/argz/'`dummy.c
spu-gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.
make[6]: *** [lib_a-dummy.o] Error 1

-fuse-linker-plugin is not passed on the commandline, so this seems to be a bug in gcc-4.6-spu itself.

Building with -fno-use-linker-plugin succeeds.

The build failure is reproducible also in Debian unstable.

Steve Langasek (vorlon)
Changed in gcc-4.6 (Ubuntu):
importance: Undecided → High
Revision history for this message
Matthias Klose (doko) wrote :

newlib built on powerpc

Changed in gcc-4.6 (Ubuntu Oneiric):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.