public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/28617] New: ___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8
@ 2006-08-06 1:30 howarth at nitro dot med dot uc dot edu
2006-08-06 1:38 ` [Bug target/28617] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2006-08-06 1:30 UTC (permalink / raw)
To: gcc-bugs
The following two testcases suffer linkage failures due to missing symbols
when built with -m64 with gcc trunk on powerpc-apple-darwin8.
-----------modulo.c----------------
main()
{
__int128_t a, b;
b= a % 10;
}
-----------division.c-----------------
main()
{
__int128_t a, b;
b= a / 10;
}
-------------------------------------
...producing the following linkage errors...
gcc -m64 modulo.c
can't resolve symbols:
___modti3, referenced from:
_main in ccUT37dw.o
ld64 failed: symbol(s) not found
collect2: ld returned 1 exit status
gcc -m64 division.c
can't resolve symbols:
___divti3, referenced from:
_main in ccXNNMOt.o
ld64 failed: symbol(s) not found
This problem is currently causing over 800 fortran testsuite failures at -m64
on powerpc-apple-darwin8.
--
Summary: ___divti3 and ___umodti3 undefined for -m64 on powerpc-
apple-darwin8
Product: gcc
Version: 4.2.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=28617
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/28617] ___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8
2006-08-06 1:30 [Bug c/28617] New: ___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8 howarth at nitro dot med dot uc dot edu
@ 2006-08-06 1:38 ` pinskia at gcc dot gnu dot org
2006-09-09 23:50 ` howarth at nitro dot med dot uc dot edu
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-06 1:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-06 01:38 -------
This was caused by:
2005-09-28 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/t-darwin8: Uncomment contents, allow -m64
multilib to be built.
* Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET.
(stage1-start): Delete old libgcc and libunwind before moving
anything into the stage directory.
(stage2-start): Likewise.
(stage3-start): Likewise.
(stage4-start): Likewise.
(stageprofile-start): Likewise.
(stagefeedback-start): Likewise.
* config.gcc (*-*-darwin*): Automatically use CPU-specific darwin.h
header in tm_file and CPU-specific t-darwin in tmake_file.
(i[34567]86-*-darwin*): Don't change tm_file.
(powerpc-*-darwin*): Don't change tm_file or tmake_file.
* config/darwin.h (REAL_LIBGCC_SPEC): Rewrite to use proper libgcc
shared library stub for target OS version.
* config/t-slibgcc-darwin (SHLIB_SOLINK): Delete.
(SHLIB_LINK): Don't make SHLIB_SOLINK.
(SHLIB_INSTALL): Don't install SHLIB_SOLINK.
(libgcc_s.%.dylib): New.
(LIBGCC): Define.
(install-darwin-libgcc-stubs): New.
(INSTALL_LIBGCC): New append.
* config/i386/darwin-libgcc.10.4.ver: New.
* config/i386/darwin-libgcc.10.5.ver: New.
* config/i386/t-darwin: New.
* config/rs6000/darwin-libgcc.10.4.ver: New.
* config/rs6000/darwin-libgcc.10.5.ver: New.
* config/rs6000/darwin.h (REAL_LIBGCC_SPEC): Delete.
* config/rs6000/t-darwin (SHLIB_VERPFX): Define.
Geoff forgot about the TI functions for 64bit mode.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c |target
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-08-06 01:38:32
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28617
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/28617] ___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8
2006-08-06 1:30 [Bug c/28617] New: ___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8 howarth at nitro dot med dot uc dot edu
2006-08-06 1:38 ` [Bug target/28617] " pinskia at gcc dot gnu dot org
@ 2006-09-09 23:50 ` howarth at nitro dot med dot uc dot edu
2006-09-29 1:21 ` mrs at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2006-09-09 23:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from howarth at nitro dot med dot uc dot edu 2006-09-09 23:50 -------
Created an attachment (id=12216)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12216&action=view)
Remaining unapplied parts of the TImode patch for Darwin PPC
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28617
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/28617] ___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8
2006-08-06 1:30 [Bug c/28617] New: ___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8 howarth at nitro dot med dot uc dot edu
2006-08-06 1:38 ` [Bug target/28617] " pinskia at gcc dot gnu dot org
2006-09-09 23:50 ` howarth at nitro dot med dot uc dot edu
@ 2006-09-29 1:21 ` mrs at gcc dot gnu dot org
2006-09-29 1:30 ` mrs at apple dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mrs at gcc dot gnu dot org @ 2006-09-29 1:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from mrs at gcc dot gnu dot org 2006-09-29 01:21 -------
Subject: Bug 28617
Author: mrs
Date: Fri Sep 29 01:21:14 2006
New Revision: 117296
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117296
Log:
PR target/28617
* config/rs6000/rs6000.h [IN_LIBGCC2] (TARGET_POWERPC64): Define
to 1 when __ppc64__ is defined.
* config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Add ppc64-fp.c and
darwin-64.c.
* config/rs6000/ppc64-fp.c: Also compile when __ppc64__ is defined.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/ppc64-fp.c
trunk/gcc/config/rs6000/rs6000.h
trunk/gcc/config/rs6000/t-darwin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28617
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/28617] ___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8
2006-08-06 1:30 [Bug c/28617] New: ___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8 howarth at nitro dot med dot uc dot edu
` (2 preceding siblings ...)
2006-09-29 1:21 ` mrs at gcc dot gnu dot org
@ 2006-09-29 1:30 ` mrs at apple dot com
2006-10-03 20:48 ` geoffk at gcc dot gnu dot org
2006-10-04 0:12 ` howarth at nitro dot med dot uc dot edu
5 siblings, 0 replies; 7+ messages in thread
From: mrs at apple dot com @ 2006-09-29 1:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from mrs at apple dot com 2006-09-29 01:29 -------
This should be fixed by the last checkin.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28617
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/28617] ___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8
2006-08-06 1:30 [Bug c/28617] New: ___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8 howarth at nitro dot med dot uc dot edu
` (3 preceding siblings ...)
2006-09-29 1:30 ` mrs at apple dot com
@ 2006-10-03 20:48 ` geoffk at gcc dot gnu dot org
2006-10-04 0:12 ` howarth at nitro dot med dot uc dot edu
5 siblings, 0 replies; 7+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2006-10-03 20:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from geoffk at gcc dot gnu dot org 2006-10-03 20:48 -------
This should be fixed, right?
--
geoffk at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28617
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/28617] ___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8
2006-08-06 1:30 [Bug c/28617] New: ___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8 howarth at nitro dot med dot uc dot edu
` (4 preceding siblings ...)
2006-10-03 20:48 ` geoffk at gcc dot gnu dot org
@ 2006-10-04 0:12 ` howarth at nitro dot med dot uc dot edu
5 siblings, 0 replies; 7+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2006-10-04 0:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from howarth at nitro dot med dot uc dot edu 2006-10-04 00:12 -------
Yes, this is fixed in gcc trunk.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28617
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-10-04 0:12 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-06 1:30 [Bug c/28617] New: ___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8 howarth at nitro dot med dot uc dot edu
2006-08-06 1:38 ` [Bug target/28617] " pinskia at gcc dot gnu dot org
2006-09-09 23:50 ` howarth at nitro dot med dot uc dot edu
2006-09-29 1:21 ` mrs at gcc dot gnu dot org
2006-09-29 1:30 ` mrs at apple dot com
2006-10-03 20:48 ` geoffk at gcc dot gnu dot org
2006-10-04 0:12 ` howarth at nitro dot med dot uc dot edu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).