Jeff,
   I figured out the g++ regressions I have been suffering with gcc
trunk built as a fink package. The problem is in PR 26792...

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26792

and can be solved simply by adding...

NoSetMACOSX_DEPLOYMENT_TARGET: True

...to gcc4.info. You will also want to remove the section...

Index: gcc/config/i386/darwin-libgcc.10.5.ver
===================================================================
--- gcc4/gcc/config/i386/darwin-libgcc.10.5.ver (revision 112376)
+++ gcc4/gcc/config/i386/darwin-libgcc.10.5.ver (working copy)
@@ -7,6 +7,7 @@
 __Unwind_GetDataRelBase
 __Unwind_GetGR
 __Unwind_GetIP
+__Unwind_GetIPInfo
 __Unwind_GetLanguageSpecificData
 __Unwind_GetRegionStart
 __Unwind_GetTextRelBase
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
Index: gcc/config/rs6000/darwin-libgcc.10.5.ver
===================================================================
--- gcc4/gcc/config/rs6000/darwin-libgcc.10.5.ver       (revision 112376)
+++ gcc4/gcc/config/rs6000/darwin-libgcc.10.5.ver       (working copy)
@@ -7,6 +7,7 @@
 __Unwind_GetDataRelBase
 __Unwind_GetGR
 __Unwind_GetIP
+__Unwind_GetIPInfo
 __Unwind_GetLanguageSpecificData
 __Unwind_GetRegionStart
 __Unwind_GetTextRelBase

...since that change currently will create an ABI change to new libgcc for 10.4.
By unsetting MACOSX_DEPLOYMENT_TARGET when fink builds gcc4, we are 
effectively using option 4 in Geoff's possible fixes to this problem.
                      Jack
ps Do you know where all the remaining sections of gcc4.patch come from,
that is which PRs? It might be helpful to figure exactly how much of a
patch MacIntel needs and ask Geoff to check on why those changes aren't
in the gcc trunk yet.


_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to