building gcc4-4.3.0-20061104/11 failure on OSX 10.3

Geoffrey Keating geoffk@apple.com
Wed Nov 22 12:37:00 GMT 2006


On 19/11/2006, at 2:00 PM, Dominique Dhumieres wrote:

>> 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?

These patches will cause your executables to be binary incompatible  
with past system versions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2462 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20061122/3b737ffe/attachment.p7s>


More information about the Gcc mailing list