The gcc.dg/torture/builtin-math-4.c testcase doesn't link properly on
powerpc-apple-darwin8. The link fails with...

/sw/src/fink.build/gcc43-4.2.999-20071221/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc43-4.2.999-20071221/darwin_objdir/gcc/
/sw/src/fink.build/gcc43-4.2.999-20071221/gcc-4.3-20071221/gcc/testsuite/gcc.dg/torture/builtin-math-4.c
-O0 -fno-show-column -lm -m32 -o builtin-math-4.exe
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_j0f
_j0l
_j1f
_j1l
_jnf
_jnl
_link_error
_y0f
_y0l
_y1f
_y1l
_ynf
_ynl
collect2: ld returned 1 exit status

using Xcode 2.5. This problem doesn't exist on powerpc-apple-darwin9 using
Xcode 3.0. Attempts to compile with -funsafe-math-optimizations and the various
settings for trapping-math, reciprocal-math, signed-zeros and associative-math
doesn't seem to help solve this issue.


-- 
           Summary: undefined symbols in builtin-math-4.exe on powerpc-
                    apple-darwin8
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: powerpc-apple-darwin8
  GCC host triplet: powerpc-apple-darwin8
GCC target triplet: powerpc-apple-darwin8


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

Reply via email to