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)
The following reply was made to PR pkg/48740; it has been noted by GNATS.
From: venture37 <venture37%geeklan.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost, pho%NetBSD.org@localhost,
gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)
Date: Mon, 23 Jun 2014 01:14:15 +0100
This is a multi-part message in MIME format.
--------------020201010700000105040000
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
-----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-----
--------------020201010700000105040000
Content-Type: text/plain; charset=UTF-8;
name="gcc45-diff.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="gcc45-diff.txt"
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}
--------------020201010700000105040000
Content-Type: application/octet-stream; x-mac-type="0"; x-mac-creator="0";
name="gcc45-diff.txt.sig"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="gcc45-diff.txt.sig"
iQIcBAABAgAGBQJTp3FWAAoJENE/+DdOy3tCK1cP/16LlCdTafjJ5k+Df6w4y8weBVPFgT+W
mbctZKX1kakwNp3MK2A94HQzbU6TPOGNfkqr0gIaWwVsymx1eAq4842BoeM48T4KrJEQByg2
YwSDsiOZRM8alnF3zmyCCCfaZzF4WfIR6ivTodmpybyC0zUc+K/pZZJkd2wv9vAaVeJ/kg3V
nQ0JMC5GvNziNhU7mjulFg+m/wm+0+m7ssid/AIdruBWHvEJ0Rd/NUouNyrWhEo1C/soahbZ
xpjTGDHRHss+07mkDToXmGXuAhC+oOZ37eFvGWKOfUgYxnyjhPxVlvCxirjgGytk5g3OfgAn
dUmdoAV1VABm8sSa9li1ZS9pEejX+wzPwf0BcrMUs6rQ7zN1dkycR0MwmIg/CEsAywarMWfD
etUGYvRck88LhZnboCp3JczCSylIIuJx5LWIEqtYHXm2CHWCuysLTmTssGPoDKpcku74NrGw
Qj5VpmWfKAWBxW/8swVPLzBnYerLsx0Yjz9yfhRhNzecSHclhb/ifhIA6I/NqUdwg3zqHJuW
3CN+lqIceU7vpQFSkC71cdbhBRtps3/yzjNe5o+xYqGnaTHWv+19aL8CN6fq/DW6JYyCRe+J
1uJuIrFpm7ej8MOrgje/X0gmQRZaBBJnVl8foVM6FDiaykoHx1b0Pwqb1bXsQZPqRGkUkmqE
tVnJ
--------------020201010700000105040000--
Home |
Main Index |
Thread Index |
Old Index