[fink:package-submissions] #4922 fix gcc6_6.3.0-1 for builds against Xcode 9
Jack Howarth via Fink-tracker <[email protected]>
| Newsgroups | gmane.os.apple.fink.tracker |
|---|---|
| Message-ID | </p/fink/package-submissions/4922/5fba4a0e6337a787ca10147d044bd929d0a76106.package-submissions@fink.p.sourceforge.net> |
WIth file-dev installed here, the usage of libmagic doesn't reallly occur as the test compile fails in libjava/classpath for both the x96_64 and i396 multilib...
configure:17331: checking for magic_open in -lmagic
configure:17359: /sw/src/fink.build/gcc6-6.3.0-2/darwin_objdir/./gcc/xgcc -B/sw/src/fink.build/gcc6-6.3.0-2/darwin_objdir/./gcc/ -B/sw/lib/gcc6/x86_64-apple-darwin16.7.0/bin/ -B/sw/lib/gcc6/x86_64-apple-darwin16.7.0/lib/ -isystem /sw/lib/gcc6/x86_64-apple-darwin16.7.0/include -isystem /sw/lib/gcc6/x86_64-apple-darwin16.7.0/sys-include -o conftest -g -O2 conftest.c -lmagic >&5
ld: library not found for -lmagic
So we can just ignore this issue.
---
** [package-submissions:#4922] fix gcc6_6.3.0-1 for builds against Xcode 9**
**Status:** open
**Group:** Awaiting_Update_from_Submitter
**Labels:** languages Updated Revision of Existing
**Created:** Thu Jun 08, 2017 08:31 PM UTC by Jack Howarth
**Last Updated:** Fri Jun 09, 2017 06:48 PM UTC
**Owner:** nobody
Apply the upstream fix for building gcc6-6.3.0-1 from gcc-6-branch
https://github.com/gcc-mirror/gcc/commit/76661a6d0a07f93730ff1f94887703b1df8f1c5b
with the Info file change...
~~~
Index: gcc6.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/languages/gcc6.info,v
retrieving revision 1.7
diff -u -r1.7 gcc6.info
--- gcc6.info 22 Dec 2016 06:13:16 -0000 1.7
+++ gcc6.info 8 Jun 2017 20:26:58 -0000
@@ -12,6 +12,8 @@
# See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66848#c11
PatchFile2: %n-boehmgc-hack.patch
PatchFile2-MD5: 52fa69b98d5a657b7a6d8c26e39b4e28
+PatchFile3: %n-xcode9-fix.patch
+PatchFile3-MD5: c01f090afc34b17d17467fc974f1140a
PatchScript: <<
%{default_script}
# autoconf2.6ish patch for modern XQuartz paths
@@ -319,6 +321,7 @@
PR71767 4/4 https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00540.html
PR57438 https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00541.html
PR67710 https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00545.html
+ https://gcc.gnu.org/ml/gcc-patches/2017-01/msg00053.html for Xcode 9
<<
Homepage: http://gcc.gnu.org/
Maintainer: None <[email protected]>
~~~
and the attached gcc6-xcode9-fix.patch. Tested on 10.12 with Xcode 9 beta using 'fink -m'.
---
Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/package-submissions/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/package-submissions/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker