This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

CC='gcc -m64' not honoured in all ld tests [Was: Results for 2.16.90 20050417 testsuite on sparc64-unknown-linux-gnu]


On 4/17/05, Christian Joensson <christian.joensson@gmail.com> wrote:
> Aurora SPARC Linux release 2.0 (Kashmir FC3) UltraSparc IIi (Sabre) sun4u:

The ld failuers are these:

Running /usr/local/src/trunk/src/ld/testsuite/ld-cdtest/cdtest.exp ...
gcc  -fno-exceptions
-B/usr/local/src/trunk/objdir-binutils64/ld/tmpdir/gas/
-I/usr/local/src/trunk/src/ld/testsuite/ld-cdtest -g -O2  -c
/usr/local/src/trunk/src/ld/testsuite/ld-cdtest/cdtest-foo.cc -o
tmpdir/cdtest-foo.o
gcc  -fno-exceptions
-B/usr/local/src/trunk/objdir-binutils64/ld/tmpdir/gas/
-I/usr/local/src/trunk/src/ld/testsuite/ld-cdtest -g -O2  -c
/usr/local/src/trunk/src/ld/testsuite/ld-cdtest/cdtest-bar.cc -o
tmpdir/cdtest-bar.o
gcc  -fno-exceptions
-B/usr/local/src/trunk/objdir-binutils64/ld/tmpdir/gas/
-I/usr/local/src/trunk/src/ld/testsuite/ld-cdtest -g -O2  -c
/usr/local/src/trunk/src/ld/testsuite/ld-cdtest/cdtest-main.cc -o
tmpdir/cdtest-main.o
/usr/local/src/trunk/objdir-binutils64/ld/ld-new -m elf64_sparc  -o
tmpdir/cdtest -dynamic-linker /lib64/ld-linux.so.2
/usr/lib/gcc/sparc64-redhat-linux/3.4.2/../../../../lib64/crt1.o
/usr/lib/gcc/sparc64-redhat-linux/3.4.2/../../../../lib64/crti.o
/usr/lib/gcc/sparc64-redhat-linux/3.4.2/64/crtbegin.o
tmpdir/cdtest-foo.o tmpdir/cdtest-bar.o tmpdir/cdtest-main.o 
-L/usr/lib/gcc/sparc64-redhat-linux/3.4.2/../../../../lib64
--start-group /usr/lib/gcc/sparc64-redhat-linux/3.4.2/64/libgcc.a
/usr/lib/gcc/sparc64-redhat-linux/3.4.2/64/libgcc_eh.a -lc --end-group
/usr/lib/gcc/sparc64-redhat-linux/3.4.2/64/crtend.o
/usr/lib/gcc/sparc64-redhat-linux/3.4.2/../../../../lib64/crtn.o
lt-ld-new: warning: sparc architecture of input file
`tmpdir/cdtest-foo.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file
`tmpdir/cdtest-bar.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file
`tmpdir/cdtest-main.o' is incompatible with sparc:v9 output
FAIL: cdtest
/usr/local/src/trunk/objdir-binutils64/ld/ld-new -m elf64_sparc -o
tmpdir/cdtest.o -r -Ur tmpdir/cdtest-foo.o tmpdir/cdtest-bar.o
tmpdir/cdtest-main.o
lt-ld-new: Relocatable linking with relocations from format
elf32-sparc (tmpdir/cdtest-foo.o) to format elf64-sparc
(tmpdir/cdtest.o) is not supported
FAIL: cdtest with -Ur
testcase /usr/local/src/trunk/src/ld/testsuite/ld-cdtest/cdtest.exp
completed in 2 seconds

and

gcc  -fno-exceptions
-B/usr/local/src/trunk/objdir-binutils64/ld/tmpdir/gas/
-I/usr/local/src/trunk/src/ld/testsuite/ld-srec -g -O2  -c
/usr/local/src/trunk/src/ld/testsuite/ld-srec/sr3.cc -o tmpdir/sr3.o
/usr/local/src/trunk/objdir-binutils64/ld/ld-new  -o tmpdir/sr1
--traditional-format -Ttext 0x1000 tmpdir/sr3.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sr3.o' is
incompatible with sparc:v9 output

FAIL: S-records with constructors
testcase /usr/local/src/trunk/src/ld/testsuite/ld-srec/srec.exp
completed in 2 seconds


that is, the gcc -m64 is not used (from CC='gcc -m64' configure) as in
the other tests...

-- 
Cheers,

/ChJ


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]