Currently we are failing g++.old-deja/g++.pt/const2.C at both -m32 and -m64 on
i686-apple-darwin9 and powerpc-apple-darwin9 because the darwin linker returns
the error...

Undefined symbols:
  "A<int>::i", referenced from:
      _p in ccXjnF0c.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
Undefined symbols:
  "A<int>::i", referenced from:
      _p in ccXjnF0c.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

PASS: g++.old-deja/g++.pt/const2.C  (test for warnings, line )
FAIL: g++.old-deja/g++.pt/const2.C (test for excess errors)
Excess errors:
ld: symbol(s) not found

compared to...

/tmp/ccYcm70t.o:(.data+0x0): undefined reference to `A<int>::i'
collect2: ld returned 1 exit status

...on linux.  An additional dg-message line in this test case needs to be added
to either find the Undefined on the first line or the "i" on the second line of
the
darwin linker error message.


-- 
           Summary: g++.old-deja/g++.pt/const2.C fails on *-apple-darwin9
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: *-apple-darwin9
  GCC host triplet: *-apple-darwin9
GCC target triplet: *-apple-darwin9


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

Reply via email to