[MacPorts] #26378: gcc45 fails to build on 10.4
MacPorts
noreply at macports.org
Sat Nov 20 08:42:27 PST 2010
#26378: gcc45 fails to build on 10.4
----------------------------+-----------------------------------------------
Reporter: dduca@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: tiger | Port: gcc45
----------------------------+-----------------------------------------------
Comment(by jpmasseria@…):
Sorry for my ignorance on this, but how do we either apply this patch or
use '''port''' to "pass --with-dwarf2" when building gcc45?
{{{
Currently on darwin8 users have to explicitly invoke --with-dwarf2
since it's Xcode defaults to stabs. The attached patch passes --with-
dwarf2
on darwin8 in order to assure it builds the standard dwarf2 support. Okay
for gcc trunk and gcc 4.5.2?
Jack
2010-08-12 Jack Howarth <howarth at bromo.med.uc.edu>
* configure.ac: Pass --with-dwarf2 on darwin8.
* configure: Regenerate.
Index: configure.ac
===================================================================
--- configure.ac (revision 163079)
+++ configure.ac (working copy)
@@ -2506,6 +2506,16 @@
esac
fi
+# Default to using --with-dwarf2 on certain targets
+if test x${with_dwarf2} = x ; then
+ case "${target}" in
+ *-*-darwin8*)
+ with_dwarf2=yes;
+ extra_host_args="${extra_host_args} --with-dwarf2"
+ ;;
+ esac
+fi
+
# hpux11 in 64bit mode has libraries in a weird place. Arrange to find
# them automatically.
case "${host}" in
}}}
--
Ticket URL: <https://trac.macports.org/ticket/26378#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list