gmp 4.2 fails tests on G5
Jack Howarth
howarth at bromo.msbb.uc.edu
Thu Apr 27 23:12:24 CEST 2006
Torbjorn,
What's wrong with the following change for gmp 4.2.1?
--- aclocal.m4.org 2006-04-27 16:56:14.000000000 -0400
+++ aclocal.m4 2006-04-27 17:06:30.000000000 -0400
@@ -4535,8 +4535,9 @@
;;
darwin* | rhapsody*)
# PIC is the default on this platform
+ # but don't assume this since -fast sets -mdynamic-no-pic
# Common symbols not allowed in MH_DYLIB files
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -fno-common'
;;
*djgpp*)
# DJGPP does not support shared libraries at all
@@ -4788,8 +4789,9 @@
darwin* | rhapsody*)
# PIC is the default on this platform
+ # but don't assume this since -fast sets -mdynamic-no-pic
# Common symbols not allowed in MH_DYLIB files
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -fno-common'
;;
msdosdjgpp*)
It simply avoids an incorrect assumption that -fPIC will always
be on by default in the Apple gcc.
Jack
More information about the gmp-bugs
mailing list