The last failure for gcc I have on i686-apple-darwin9 is with -m64:

FAIL: gcc.misc-tests/linkage.c link

The log file shows:

Running /opt/gcc/gcc-4.4-work/gcc/testsuite/gcc.misc-tests/linkage.exp ...
Executing on host: /Volumes/MacBook/opt/gcc/i686-darwin/gcc/xgcc
-B/Volumes/MacBook/opt/gcc/i686-darwin/gcc/  "-w" -c  -m64 -o linkage-x.o
/opt/gcc/gcc-4.4-work/gcc/testsuite/gcc.misc-tests/linkage-x.c    (timeout =
300)
cc -c  /opt/gcc/gcc-4.4-work/gcc/testsuite/gcc.misc-tests/linkage-y.c
>&/dev/null
Executing on host: /Volumes/MacBook/opt/gcc/i686-darwin/gcc/xgcc
-B/Volumes/MacBook/opt/gcc/i686-darwin/gcc/ linkage-y.o linkage-x.o   -lm  
-m64 -o linkage.exe    (timeout = 300)
ld warning: in linkage-y.o, file is not of required architecture^M
Undefined symbols:^M
  "_main", referenced from:^M
      start in crt1.10.5.o^M
ld: symbol(s) not found^M
collect2: ld returned 1 exit status^M
compiler exited with status 1
output is:
ld warning: in linkage-y.o, file is not of required architecture^M
Undefined symbols:^M
  "_main", referenced from:^M
      start in crt1.10.5.o^M
ld: symbol(s) not found^M
collect2: ld returned 1 exit status^M

FAIL: gcc.misc-tests/linkage.c link
testcase /opt/gcc/gcc-4.4-work/gcc/testsuite/gcc.misc-tests/linkage.exp
completed in 0 seconds

I don't understand why native_cflags is not set to -m64 (it is for -m32 and in
both cases on powerpc-apple-darwin9).


-- 
           Summary: FAIL: gcc.misc-tests/linkage.c link
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr
 GCC build triplet: i686-apple-darwin9
  GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39325

Reply via email to