This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

RE: ___divti3 and ___umodti3 missing on Darwin


    The second missing symbol generated by gcc trunk on
MacOS X 10.4 when compiling with -m64 can be demonstrated with
this test case...

main()
{
__int128_t a, b;
b= a / 10;
}

which when compiled with "gcc-4 -m64 division.c" produces the
linkage error...

can't resolve symbols:
  ___divti3, referenced from:
      _main in ccDcwJYL.o
ld64 failed: symbol(s) not found
collect2: ld returned 1 exit status

Hopefully fixes for these already reside in Apple's gcc branch and
can be ported over without much grief.
            Jack


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