Bug 46938 - FAIL: gcc.dg/pr43157.c (test for excess errors)
Summary: FAIL: gcc.dg/pr43157.c (test for excess errors)
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: ---
Assignee: Dave Korn
URL: http://gcc.gnu.org/ml/gcc-patches/201...
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-12-14 13:26 UTC by John David Anglin
Modified: 2010-12-15 09:53 UTC (History)
1 user (show)

See Also:
Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
Build: hppa64-hp-hpux11.11
Known to work:
Known to fail:
Last reconfirmed: 2010-12-15 09:29:22


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John David Anglin 2010-12-14 13:26:36 UTC
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te
st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr43157.c   -O1 -flto -fuse-linker-plugin  -
lm   -o pr43157.exe    (timeout = 300)
xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.
compiler exited with status 1
output is:
xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.

FAIL: gcc.dg/pr43157.c (test for excess errors)
Excess errors:
xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.

With -v:

Reading specs from /test/gnu/gcc/objdir/gcc/specs
COLLECT_GCC=/test/gnu/gcc/objdir/gcc/xgcc
COLLECT_LTO_WRAPPER=/test/gnu/gcc/objdir/gcc/lto-wrapper
Target: hppa64-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu64/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --with-local-prefix=/opt/gnu64 --prefix=/opt/gnu64/gcc/gcc-4.6.0 --build=hppa64-hp-hpux11.11 --enable-threads=posix --disable-nls --with-gmp=/opt/gnu64/gcc/gcc-4.6.0 --with-libelf=/opt/gnu64 --enable-languages=c,c++,objc,obj-c++,fortran,lto
Thread model: posix
gcc version 4.6.0 20101214 (experimental) [trunk revision 167781] (GCC) 
COLLECT_GCC_OPTIONS='-B' '/test/gnu/gcc/objdir/gcc/' '-O1' '-flto' '-fuse-linker-plugin' '-o' 'pr43157.exe' '-v'
 /test/gnu/gcc/objdir/gcc/cc1 -quiet -v -iprefix /test/gnu/gcc/objdir/gcc/../lib/gcc/hppa64-hp-hpux11.11/4.6.0/ -isystem /test/gnu/gcc/objdir/gcc/include -isystem /test/gnu/gcc/objdir/gcc/include-fixed /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr43157.c -quiet -dumpbase pr43157.c -auxbase pr43157 -O1 -version -flto -fuse-linker-plugin -o /var/tmp//cc8dn1cK.s
GNU C (GCC) version 4.6.0 20101214 (experimental) [trunk revision 167781] (hppa64-hp-hpux11.11)
	compiled by GNU C version 4.6.0 20101214 (experimental) [trunk revision 167781], GMP version 5.0.1, MPFR version 2.4.2, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
ignoring nonexistent directory "/test/gnu/gcc/objdir/gcc/../lib/gcc/hppa64-hp-hpux11.11/4.6.0/include"
ignoring nonexistent directory "/test/gnu/gcc/objdir/gcc/../lib/gcc/hppa64-hp-hpux11.11/4.6.0/include-fixed"
ignoring nonexistent directory "/test/gnu/gcc/objdir/gcc/../lib/gcc/hppa64-hp-hpux11.11/4.6.0/../../../../hppa64-hp-hpux11.11/include"
ignoring nonexistent directory "/test/gnu/gcc/objdir/gcc/../lib/gcc/../../lib/gcc/hppa64-hp-hpux11.11/4.6.0/include"
ignoring nonexistent directory "/test/gnu/gcc/objdir/gcc/../lib/gcc/../../include"
ignoring nonexistent directory "/test/gnu/gcc/objdir/gcc/../lib/gcc/../../lib/gcc/hppa64-hp-hpux11.11/4.6.0/include-fixed"
ignoring nonexistent directory "/test/gnu/gcc/objdir/gcc/../lib/gcc/../../lib/gcc/hppa64-hp-hpux11.11/4.6.0/../../../../hppa64-hp-hpux11.11/include"
#include "..." search starts here:
#include <...> search starts here:
 /test/gnu/gcc/objdir/gcc/include
 /test/gnu/gcc/objdir/gcc/include-fixed
 /opt/gnu64/include
 /usr/include
End of search list.
GNU C (GCC) version 4.6.0 20101214 (experimental) [trunk revision 167781] (hppa64-hp-hpux11.11)
	compiled by GNU C version 4.6.0 20101214 (experimental) [trunk revision 167781], GMP version 5.0.1, MPFR version 2.4.2, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 7ccd9647394182dfe07867e5fd941d9c
COLLECT_GCC_OPTIONS='-B' '/test/gnu/gcc/objdir/gcc/' '-O1' '-flto' '-fuse-linker-plugin' '-o' 'pr43157.exe' '-v'
 /opt/gnu64/bin/as -v -o /var/tmp//ccAnbwpu.o /var/tmp//cc8dn1cK.s
GNU assembler version 2.20.51 (hppa64-hp-hpux11.11) using BFD version (GNU Binutils) 2.20.51.20100309
xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.

HP linker doesn't support linker plugins.
Comment 1 Dave Korn 2010-12-15 09:29:22 UTC
Patch got approved while I was out of town for a couple of days, will commit it shortly.
Comment 2 Dave Korn 2010-12-15 09:51:30 UTC
Author: davek
Date: Wed Dec 15 09:51:26 2010
New Revision: 167848

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167848
Log:
	PR testsuite/46938
	* gcc.dg/pr43157.c: Add dg-require-linker-plugin  directive.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/pr43157.c
Comment 3 Dave Korn 2010-12-15 09:53:13 UTC
Should be fixed now.