This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: building gcc4-4.3.0-20061104/11 failure on OSX 10.3
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: dominiq at lps dot ens dot fr, mrs at apple dot com
- Cc: gcc at gcc dot gnu dot org, geoffk at apple dot com
- Date: Sun, 19 Nov 2006 23:00:45 +0100 (CET)
- Subject: Re: building gcc4-4.3.0-20061104/11 failure on OSX 10.3
> Let me know if that works for you.
After applying the Andrew Pinski's patch for pr29879, the build of snapshot
20061118 went without problem on OSX 10.3.9. So your patch fixes the
problem I have reported. Thanks a lot.
If I may abuse of the situation, I am using the following patches:
Index: gcc/config/rs6000/darwin7.h
===================================================================
--- gcc4/gcc/config/rs6000/darwin7.h (revision 112376)
+++ gcc4/gcc/config/rs6000/darwin7.h (working copy)
@@ -29,3 +29,1 @@
-#define LIB_SPEC "%{!static:\
- %:version-compare(!< 10.3 mmacosx-version-min= -lmx)\
- -lSystem}"
+#define LIB_SPEC "%{!static:-lSystem -lmx}"
this is required to avoid a lot of warnings with ld, as discussed in
a thread around 21/08/2005, and
Index: gcc/config/i386/darwin-libgcc.10.4.ver
===================================================================
--- gcc4/gcc/config/i386/darwin-libgcc.10.4.ver (revision 112376)
+++ gcc4/gcc/config/i386/darwin-libgcc.10.4.ver (working copy)
@@ -7,6 +7,7 @@
__Unwind_GetDataRelBase
__Unwind_GetGR
__Unwind_GetIP
+__Unwind_GetIPInfo
__Unwind_GetLanguageSpecificData
__Unwind_GetRegionStart
__Unwind_GetTextRelBase
Index: gcc/config/rs6000/darwin-libgcc.10.4.ver
===================================================================
--- gcc4/gcc/config/rs6000/darwin-libgcc.10.4.ver (revision 112376)
+++ gcc4/gcc/config/rs6000/darwin-libgcc.10.4.ver (working copy)
@@ -7,6 +7,7 @@
__Unwind_GetDataRelBase
__Unwind_GetGR
__Unwind_GetIP
+__Unwind_GetIPInfo
__Unwind_GetLanguageSpecificData
__Unwind_GetRegionStart
__Unwind_GetTextRelBase
which have been put sometime ago in darwin-libgcc.10.5.ver. Is there any
good reason why such patches are not applied in the distributions. If no,
could they be included?
TIA
Dominique