pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 05/06/2014 10:10, Venture37 wrote:
> So, with the stock XCode 2.5 toolchain on OS X 10.4.11 1) gcc needs
> to be built with dwarf2 2) disable fstack-protector as described
> earlier 3) if you're building on a 32bit PowerPC system (I am),
> disable multilib

The attached patch, fixes points 1 & 3 raised above.

Pho, what's the best way to deal with point 2? It's not enabled by
default upstream, it's a patch in the pkgsrc tree which switches it on.
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/gcc46/patches/patch-gcc_common.opt?only_with_tag=MAIN
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTp3FWAAoJENE/+DdOy3tCBh4P/1RE2y9Oh4esJHhA/UkxGtiv
Mi/rHqLO/2krkrcUoALmpTIhgZIAiVxzTG3O1u9lw6eyo4bW39xyHx+NcO+r1F8j
zJUUXCRRLhYCLf7eWp+pfKvq74IWxR4njBDKIfZp26YYhqdkQ74Jme4bfU3HT5R7
hKt5W8xrxr4zPF2H5VURBGbjBlkvJXmd70CCxkS4PAzNaf45IulmChzzXc3WE09C
RKwDBGEhKydHSYek6/tw/dPuE9RdruIz4SlCS2oU8exSzvnKon5ddWE//L/VE2SA
sgWwusZ1ScLWBWo7q5LIiVHv61rt9ZKIF1itbpZw2oRAeSPg3zmMm2Z3FW6RaEL5
btmigvhfcWUrgwWERHnBAQyUcnY/DkDSO+qnAZgAxC4dAl9wgO3s6ujOR2NVK2lz
g/D+hUs0BzyJVMZPr7bbgdlmEsKpN55l5nDZaPtlVr3VVhrWioT7rXE/ryaj0i7W
fYgJNaa6+LHLc9PwSg37Hn4nmFvPEr5d/PArZSRXG6qYaB1nzjZ19e2qK+KzIyPT
m5edCUeK9Nui1WjeEMHh/humQY7vNPJhWLh2RHna+sQflVTHPqBG/tQFD50ubQHX
+NfaSRoy4ELzOzJq+YNESV2ltH0i+9ftvyKD7JJRDHLGfe45n/rBXAz9lrUGgjYo
8ki/LxyKUtKPOSEZb01K
=nhPv
-----END PGP SIGNATURE-----
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/gcc45/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile    29 May 2014 23:36:42 -0000      1.16
+++ Makefile    22 Jun 2014 14:22:35 -0000
@@ -89,6 +89,14 @@
 CONFIGURE_ARGS+=       STRIP_FOR_TARGET=${TOOLS_PLATFORM.strip}
 .endif
 
+.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
+CONFIGURE_ARGS+=       --with-dwarf2
+.endif
+
+.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-powerpc)
+CONFIGURE_ARGS+=       --disable-multilib
+.endif
+
 CONFIGURE_ENV+=                CONFIG_SHELL=${CONFIG_SHELL}
 
 MAKE_ENV+=             SHELL=${CONFIG_SHELL}

Attachment: gcc45-diff.txt.sig
Description: Binary data



Home | Main Index | Thread Index | Old Index