Patch: java class registration via .jcr section, take 3
Jeffrey Oldham
oldham@codesourcery.com
Fri Aug 10 08:44:00 GMT 2001
Your patch to gcc 3.1 causes gcc.dg/special/gcsec-1.c to fail on
i686-pc-linux-gnu:
Executing on host: /home/oldham/gcc/gcc2/objdir/gcc/xgcc -B/home/oldham/gcc/gcc2/objdir/gcc/ /nfs/oz/home/oldham/gcc/gcc2/gcc/testsuite/gcc.dg/special/gcsec-1.c -ffunction-sections -fdata-sections -Wl,--gc-sections -static -lm -o ./a.out (timeout = 300)
spawn /home/oldham/gcc/gcc2/objdir/gcc/xgcc -B/home/oldham/gcc/gcc2/objdir/gcc/ /nfs/oz/home/oldham/gcc/gcc2/gcc/testsuite/gcc.dg/special/gcsec-1.c -ffunction-sections -fdata-sections -Wl,--gc-sections -static -lm -o ./a.out
/usr/bin/ld: ./a.out: Not enough room for program headers (allocated 2, need 3)
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/usr/bin/ld: ./a.out: Not enough room for program headers (allocated 2, need 3)
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
FAIL: gcc.dg/special/gcsec-1.c (test for excess errors)
Excess errors:
/usr/bin/ld: ./a.out: Not enough room for program headers (allocated 2, need 3)
/usr/bin/ld: final link failed: Bad value
WARNING: gcc.dg/special/gcsec-1.c compilation failed to produce executable
Reversing the patch (using 2001-08-08 16:41 PDT code) eliminates the
regression. Will you please fix the problem?
Thanks,
Jeffrey D. Oldham
oldham@codesourcery.com
More information about the Gcc-bugs
mailing list