NetBSD Problem Report #48740
From www@NetBSD.org Sun Apr 13 00:36:43 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 4568CA5802
for <gnats-bugs@gnats.NetBSD.org>; Sun, 13 Apr 2014 00:36:43 +0000 (UTC)
Message-Id: <20140413003641.AF20EA5828@mollari.NetBSD.org>
Date: Sun, 13 Apr 2014 00:36:41 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: lang/gcc44 to gcc46 linker fails because of whitespace
X-Send-Pr-Version: www-1.0
>Number: 48740
>Category: pkg
>Synopsis: lang/gcc44 to gcc46 linker fails because of whitespace
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pho
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 13 00:40:00 +0000 2014
>Closed-Date: Wed Sep 04 22:15:31 +0000 2019
>Last-Modified: Wed Sep 04 22:15:31 +0000 2019
>Originator: Sevan
>Release: current
>Organization:
>Environment:
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
In LINK_LIBGCC_SPEC remove the space between LINKER_RPATH_FLAG and its
argument
It should be
-DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG)$(exec_prefix)/lib\"" \
Not
-DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG) $(exec_prefix)/lib\"" \
On Mac OS X 10.4.11 with XCode 2.5, build fails with /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: -L: directory name missing
collect2: ld returned 1 exit status
>How-To-Repeat:
Attempt to build pkgsrc/lang{44,45,46} on Mac OS X 10.4
>Fix:
$NetBSD: patch-ac,v 1.1 2011/10/18 17:55:27 hans Exp $
--- gcc/Makefile.in.orig 2004-06-17 15:56:58.000000000 -0600
+++ gcc/Makefile.in
@@ -1944,6 +1944,7 @@ c-omp.o : c-omp.c $(CONFIG_H) $(SYSTEM_H
# Language-independent files.
DRIVER_DEFINES = \
+ -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG)$(exec_prefix)/lib\"" \
-DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
-DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
-DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->sbd
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 13 Apr 2014 07:01:51 +0000
Responsible-Changed-Why:
Over to maintainer.
From: "Masatake Daimon" <pho@netbsd.org>
To: pkgsrc-changes@netbsd.org
Cc:
Subject: PR/48740 CVS commit: pkgsrc/lang/gcc45
Date: Thu, 08 May 2014 11:03:58 +0900
Module Name: pkgsrc
Committed By: pho
Date: Thu May 8 02:03:58 UTC 2014
Modified Files:
pkgsrc/lang/gcc45: distinfo
pkgsrc/lang/gcc45/patches: patch-ac
Log Message:
Remove the whitespace between $(LINKER_RPATH_FLAG) and the path. Otherwise the flag may be misinterpreted by linker (e.g. Apple's ld)
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/gcc45/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/gcc45/patches/patch-ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Masatake Daimon" <pho@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48740 CVS commit: pkgsrc/lang/gcc46
Date: Thu, 15 May 2014 12:04:41 +0000
Module Name: pkgsrc
Committed By: pho
Date: Thu May 15 12:04:41 UTC 2014
Modified Files:
pkgsrc/lang/gcc46: Makefile distinfo
pkgsrc/lang/gcc46/patches: patch-ac
Added Files:
pkgsrc/lang/gcc46/patches: patch-libgcc_config_t-slibgcc-darwin
Log Message:
PR pkg/48740 - Fix problems on Darwin
Makefile:
See ${WRKSRC}/libgcc/config/t-slibgcc-darwin: It uses strip(1) to
create a stub library, not just to remove symbols, so we must not
let strip(1) be a no-op regardless of ${INSTALL_UNSTRIPPED} or the
build fails for missing files.
patches/patch-ac:
Remove the whitespace between $(LINKER_RPATH_FLAG) and the path.
Otherwise the flag may be misinterpreted by linker (e.g. Apple's ld)
patches/patch-libgcc_config_t-slibgcc-darwin:
If we don't install libgcc_s.10.[45].dylib, our gcc links binaries
with *both* /usr/lib/libgcc_s.1.dylib and
${GCC_PREFIX}/lib/libgcc_s.1.dylib, which is certainly a bad thing.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/lang/gcc46/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/gcc46/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/gcc46/patches/patch-ac
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/gcc46/patches/patch-libgcc_config_t-slibgcc-darwin
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Masatake Daimon" <pho@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48740 CVS commit: pkgsrc/lang/gcc44
Date: Thu, 15 May 2014 22:53:46 +0000
Module Name: pkgsrc
Committed By: pho
Date: Thu May 15 22:53:46 UTC 2014
Modified Files:
pkgsrc/lang/gcc44: Makefile distinfo
pkgsrc/lang/gcc44/patches: patch-ac
Log Message:
PR pkg/48740 - Fix problems on Darwin
Makefile:
See ${WRKSRC}/libgcc/config/t-slibgcc-darwin: It uses strip(1) to
create a stub library, not just to remove symbols, so we must not
let strip(1) be a no-op regardless of ${INSTALL_UNSTRIPPED} or the
build fails for missing files.
patches/patch-ac:
Remove the whitespace between $(LINKER_RPATH_FLAG) and the path.
Otherwise the flag may be misinterpreted by linker (e.g. Apple's ld)
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/lang/gcc44/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/lang/gcc44/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/gcc44/patches/patch-ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Responsible-Changed-From-To: sbd->pho
Responsible-Changed-By: pho@NetBSD.org
Responsible-Changed-When: Thu, 15 May 2014 23:10:34 +0000
Responsible-Changed-Why:
I fixed them. Sevan, could you please confirm they now build?
State-Changed-From-To: open->feedback
State-Changed-By: pho@NetBSD.org
State-Changed-When: Thu, 15 May 2014 23:10:34 +0000
State-Changed-Why:
fixed
From: Sevan <venture37@geeklan.co.uk>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)
Date: Thu, 15 May 2014 19:31:01 -0400
> On 15 May 2014, at 19:10, pho@NetBSD.org wrote:
>
> I fixed them. Sevan, could you please confirm they now build?
Hi,
Sure, In BSdCan till Monday, will check after that.
Sevan
From: venture37 <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org, pho@NetBSD.org, sbd@NetBSD.org,
pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Cc:
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)
Date: Wed, 28 May 2014 21:31:13 +0100
On 16/05/2014 00:10, pho@NetBSD.org wrote:
> I fixed them. Sevan, could you please confirm they now build?
On OS X 10.4.11 PPC I managed to build lang/gcc44 & lang/gcc45 without issue
PKG_OPTIONS.gcc44= gcc-c++ gcc-fortran gcc-objc -gcc-java
PKG_OPTIONS.gcc45= gcc-c++ gcc-fortran gcc-objc -gcc-java
gcc46 fails
PKG_OPTIONS.gcc46= gcc-c++ -gcc-fortran -gcc-objc -gcc-java
/usr/pkgsrc/lang/gcc46/work/obj/./prev-gcc/xgcc
-B/usr/pkgsrc/lang/gcc46/work/obj/./prev-gcc/
-B/usr/pkg/gcc46/powerpc-apple-darwin8.11.0/bin/
-B/usr/pkg/gcc46/powerpc-apple-darwin8.11.0/bin/
-B/usr/pkg/gcc46/powerpc-apple-darwin8.11.0/lib/ -isystem
/usr/pkg/gcc46/powerpc-apple-darwin8.11.0/include -isystem
/usr/pkg/gcc46/powerpc-apple-darwin8.11.0/sys-include -c -g -O2
-mdynamic-no-pic -gtoggle -DIN_GCC -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Wold-style-definition -Wc++-compat
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/build
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/../include
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/../libcpp/include
-I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/../libdecnumber
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/../libdecnumber/dpd
-I../libdecnumber -I/usr/pkgsrc/lang/gcc46/work/.buildlink/include
-isystem /usr/include -I/usr/pkg/include \
-o build/gengtype-state.o
/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/gengtype-state.c
/usr/pkgsrc/lang/gcc46/work/obj/./prev-gcc/xgcc
-B/usr/pkgsrc/lang/gcc46/work/obj/./prev-gcc/
-B/usr/pkg/gcc46/powerpc-apple-darwin8.11.0/bin/
-B/usr/pkg/gcc46/powerpc-apple-darwin8.11.0/bin/
-B/usr/pkg/gcc46/powerpc-apple-darwin8.11.0/lib/ -isystem
/usr/pkg/gcc46/powerpc-apple-darwin8.11.0/include -isystem
/usr/pkg/gcc46/powerpc-apple-darwin8.11.0/sys-include -g -O2
-mdynamic-no-pic -gtoggle -DIN_GCC -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Wold-style-definition -Wc++-compat
-DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc -o
build/genhooks \
build/genhooks.o build/errors.o .././libiberty/libiberty.a
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning -L: directory
name (/usr/pkg/gcc46/lib) does not exist
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
___stack_chk_fail
___stack_chk_guard
collect2: ld returned 1 exit status
Makefile:3979: recipe for target 'build/genhooks' failed
gmake[3]: *** [build/genhooks] Error 1
gmake[3]: *** Waiting for unfinished jobs....
rm gcc.pod
gmake[3]: Leaving directory '/usr/pkgsrc/lang/gcc46/work/obj/gcc'
Makefile:5558: recipe for target 'all-stage2-gcc' failed
gmake[2]: *** [all-stage2-gcc] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/lang/gcc46/work/obj'
Makefile:18679: recipe for target 'stage2-bubble' failed
gmake[1]: *** [stage2-bubble] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/lang/gcc46/work/obj'
Makefile:897: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc46
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package
Makefile.
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc46
My previous changes to get things to build was to make the following
changes to the Makefile
CONFIGURE_ARGS= --with-dwarf2
CONFIGURE_ARGS= --disable-multilib
CONFIGURE_ENV= AS=/mycctools/bin/as
CONFIGURE_ENV= AS_TARGET=/mycctools/bin/as
I installed the latest version of cctools available from opendarwin
project (because I couldn't find docs on how to build the stock apple
versions).
I documented my experience here https://www.geeklan.co.uk/?tag=powerbook
These changes were lifted from TigerBrew project as they went through
build issues previously
https://github.com/Homebrew/homebrew-versions/commit/e833b133fcc371361c4b5fe9c7e47a58b3588323#diff-9a72a16b40f362e19a0dd423e1df2194
From: PHO <pho@cielonegro.org>
To: venture37@geeklan.co.uk
Cc: gnats-bugs@NetBSD.org, pho@NetBSD.org, sbd@NetBSD.org,
pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of
whitespace)
Date: Thu, 29 May 2014 16:32:38 +0900 (JST)
----Security_Multipart(Thu_May_29_16_32_38_2014_530)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: venture37 <venture37@geeklan.co.uk>
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)
Date: Wed, 28 May 2014 21:31:13 +0100
> On 16/05/2014 00:10, pho@NetBSD.org wrote:
>> I fixed them. Sevan, could you please confirm they now build?
>
> On OS X 10.4.11 PPC I managed to build lang/gcc44 & lang/gcc45 without
> issue
>
> PKG_OPTIONS.gcc44= gcc-c++ gcc-fortran gcc-objc -gcc-java
> PKG_OPTIONS.gcc45= gcc-c++ gcc-fortran gcc-objc -gcc-java
>
> gcc46 fails
>
> PKG_OPTIONS.gcc46= gcc-c++ -gcc-fortran -gcc-objc -gcc-java
>
(snip)
>
> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
> ___stack_chk_fail
> ___stack_chk_guard
> collect2: ld returned 1 exit status
> Makefile:3979: recipe for target 'build/genhooks' failed
Hmm... These symbols are generated by gcc when -fstack-protector is in
effect. It is usually disabled by default but lang/gcc46 has a patch
to (eventually) enable it by default for some reason.
These ssp symbols usually reside in libc (/usr/lib/libSystem.B.dylib
in this case) but MacOS X < 10.5 doesn't provide them. GCC provides
its own implementation (libssp) for such platforms but it isn't used
in the bootstrap phase.
As I have no boxes with MacOS X 10.4 installed, I want you to try the
following:
1. bmake clean; bmake patch
2. Open work/gcc-4.6.4/gcc/common.opt with your favorite editor.
3. Replace line 1793:
Common Report Var(flag_stack_protect, 1) Init(-1)
with:
Common Report Var(flag_stack_protect, 1)
4. Run bmake and see what happens.
Thanks,
_______________________________________________________
- PHO - http://cielonegro.org/
OpenPGP public key: 1024D/1A86EF72
Fpr: 5F3E 5B5F 535C CE27 8254 4D1A 14E7 9CA7 1A86 EF72
----Security_Multipart(Thu_May_29_16_32_38_2014_530)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iD8DBQBThuKWFOecpxqG73IRAtGuAJ9SkqCyCg2Z9Xa+aWXCowad/BS4JwCdFbsd
vtQ3PlxNmsFula02bETYfrA=
=eBq0
-----END PGP SIGNATURE-----
----Security_Multipart(Thu_May_29_16_32_38_2014_530)----
From: Venture37 <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org, pho@NetBSD.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Cc:
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)
Date: Thu, 29 May 2014 23:08:38 +0100
On 29/05/2014 08:35, PHO wrote:
> As I have no boxes with MacOS X 10.4 installed, I want you to try the
> following:
>
> 1. bmake clean; bmake patch
>
> 2. Open work/gcc-4.6.4/gcc/common.opt with your favorite editor.
>
> 3. Replace line 1793:
>
> Common Report Var(flag_stack_protect, 1) Init(-1)
>
> with:
>
> Common Report Var(flag_stack_protect, 1)
>
> 4. Run bmake and see what happens.
>
Carried out steps as above, build process failed at a different stage
I have a log of the build output & workdir if you need me to extract any
further information from this attempt.
PKG_OPTIONS.gcc46= gcc-c++ -gcc-fortran -gcc-objc -gcc-java
config.status: executing libtool commands
config.status: executing include/gstdint.h commands
config.status: executing generate-headers commands
gmake[2]: Entering directory
'/usr/pkgsrc/lang/gcc46/work/obj/powerpc-apple-darwin8.11.0/libstdc++-v3/include'
echo timestamp > stamp-pb
echo timestamp > stamp-host
echo 0 > stamp-namespace-version
echo 1 > stamp-visibility
echo 1 > stamp-extern-template
sed -e '/^#pragma/b' \
-e
'/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g'
\
-e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
< /usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/libstdc++-v3/../gcc/gthr.h
> powerpc-apple-darwin8.11.0/bits/gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
-e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
<
/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/libstdc++-v3/../gcc/gthr-single.h
> powerpc-apple-darwin8.11.0/bits/gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
-e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
-e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
-e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
<
/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/libstdc++-v3/../gcc/gthr-posix.h >
powerpc-apple-darwin8.11.0/bits/gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
-e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
-e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
-e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
<
/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/libstdc++-v3/../gcc/gthr-tpf.h >
powerpc-apple-darwin8.11.0/bits/gthr-tpf.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
-e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
-e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
-e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
<
/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/libstdc++-v3/../gcc/gthr-posix.h >
powerpc-apple-darwin8.11.0/bits/gthr-default.h
gmake[2]: Leaving directory
'/usr/pkgsrc/lang/gcc46/work/obj/powerpc-apple-darwin8.11.0/libstdc++-v3/include'
gmake[1]: Leaving directory '/usr/pkgsrc/lang/gcc46/work/obj'
Makefile:897: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc46
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package
Makefile.
*** Error code 1
Stop.
From: PHO <pho@cielonegro.org>
To: venture37@geeklan.co.uk
Cc: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of
whitespace)
Date: Sat, 31 May 2014 15:16:36 +0900 (JST)
----Security_Multipart(Sat_May_31_15_16_36_2014_194)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Venture37 <venture37@geeklan.co.uk>
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)
Date: Thu, 29 May 2014 23:08:38 +0100
> On 29/05/2014 08:35, PHO wrote:
>> As I have no boxes with MacOS X 10.4 installed, I want you to try the
>> following:
>>
>> 1. bmake clean; bmake patch
>>
>> 2. Open work/gcc-4.6.4/gcc/common.opt with your favorite editor.
>>
>> 3. Replace line 1793:
>>
>> Common Report Var(flag_stack_protect, 1) Init(-1)
>>
>> with:
>>
>> Common Report Var(flag_stack_protect, 1)
>>
>> 4. Run bmake and see what happens.
>>
>
> Carried out steps as above, build process failed at a different stage
> I have a log of the build output & workdir if you need me to extract
> any further information from this attempt.
Hmm... Can you send me the log file?
_______________________________________________________
- PHO - http://cielonegro.org/
OpenPGP public key: 1024D/1A86EF72
Fpr: 5F3E 5B5F 535C CE27 8254 4D1A 14E7 9CA7 1A86 EF72
----Security_Multipart(Sat_May_31_15_16_36_2014_194)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iD8DBQBTiXPEFOecpxqG73IRAmdZAKCYq8asJcLcm1FOW3MNc1wuAvjqhwCfRnqw
ipAQo4ghfqHDboYL65M6mKI=
=LysE
-----END PGP SIGNATURE-----
----Security_Multipart(Sat_May_31_15_16_36_2014_194)----
From: Venture37 <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org, pho@NetBSD.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Cc:
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)
Date: Mon, 02 Jun 2014 12:26:07 +0100
On 28/05/2014 21:35, venture37 wrote:
> My previous changes to get things to build was to make the following
> changes to the Makefile
>
> CONFIGURE_ARGS= --with-dwarf2
> CONFIGURE_ARGS= --disable-multilib
> CONFIGURE_ENV= AS=/mycctools/bin/as
> CONFIGURE_ENV= AS_TARGET=/mycctools/bin/as
Correction, though I previously reported gcc44 & gcc45 were buildable
now I hadn't removed the newer opendarwin linker from my $PATH, gcc45
does not build with the stock Xcode 2.5 linker.
You need to force dwarf2 & disable-multilib if you're on a 32bit PowerPC
CPU.
From: venture37 <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org, pho@NetBSD.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Cc:
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)
Date: Wed, 04 Jun 2014 00:17:10 +0100
On 02/06/2014 12:26, Venture37 wrote:
> On 28/05/2014 21:35, venture37 wrote:
>> My previous changes to get things to build was to make the following
>> changes to the Makefile
>>
>> CONFIGURE_ARGS= --with-dwarf2
>> CONFIGURE_ARGS= --disable-multilib
>> CONFIGURE_ENV= AS=/mycctools/bin/as
>> CONFIGURE_ENV= AS_TARGET=/mycctools/bin/as
>
>
> Correction, though I previously reported gcc44 & gcc45 were buildable
> now I hadn't removed the newer opendarwin linker from my $PATH, gcc45
> does not build with the stock Xcode 2.5 linker.
> You need to force dwarf2 & disable-multilib if you're on a 32bit PowerPC
> CPU.
Indeed with-dwarf2 & disable-multilib set, lang/gcc45 built without issues.
/usr/pkg/gcc45/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/pkg/gcc45/bin/gcc
COLLECT_LTO_WRAPPER=/usr/pkg/gcc45/libexec/gcc/powerpc-apple-darwin8.11.0/4.5.3/lto-wrapper
Target: powerpc-apple-darwin8.11.0
Configured with: /usr/pkgsrc/lang/gcc45/work/gcc-4.5.3/configure
--with-gmp=/usr/pkg --with-mpc=/usr/pkg --with-mpfr=/usr/pkg
--disable-nls --enable-__cxa_atexit
--with-gxx-include-dir=/usr/pkg/gcc45/include/c++/
--prefix=/usr/pkg/gcc45 --enable-languages='c obj-c++ c++ fortran objc'
--enable-shared --enable-long-long --with-local-prefix=/usr/pkg/gcc45
--enable-libssp --enable-threads=posix --with-dwarf2 --disable-multilib
STRIP_FOR_TARGET=/usr/bin/strip
Thread model: posix
gcc version 4.5.3 (GCC)
From: Venture37 <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org, pho@NetBSD.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Cc:
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)
Date: Thu, 05 Jun 2014 10:07:21 +0100
On 04/06/2014 00:20, venture37 wrote:
> Indeed with-dwarf2 & disable-multilib set, lang/gcc45 built without issues.
lang/gcc46 is buildable too,
Using built-in specs.
COLLECT_GCC=/usr/pkg/gcc46/bin/gcc
COLLECT_LTO_WRAPPER=/usr/pkg/gcc46/libexec/gcc/powerpc-apple-darwin8.11.0/4.6.4/lto-wrapper
Target: powerpc-apple-darwin8.11.0
Configured with: /usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/configure
--with-gmp=/usr/pkg --with-mpc=/usr/pkg --with-mpfr=/usr/pkg
--disable-nls --enable-__cxa_atexit
--with-gxx-include-dir=/usr/pkg/gcc46/include/c++/
--prefix=/usr/pkg/gcc46 --enable-languages='c c++ fortran objc'
--enable-shared --enable-long-long --with-local-prefix=/usr/pkg/gcc46
--enable-libssp --enable-threads=posix --with-dwarf2 --disable-multilib
STRIP_FOR_TARGET=/usr/bin/strip
Thread model: posix
gcc version 4.6.4 (GCC)
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
State-Changed-From-To: feedback->open
State-Changed-By: asau@NetBSD.org
State-Changed-When: Fri, 20 Jun 2014 20:09:24 +0000
State-Changed-Why:
Feedback received.
From: venture37 <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org, pho@NetBSD.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
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--
From: PHO <pho@cielonegro.org>
To: venture37@geeklan.co.uk
Cc: gnats-bugs@NetBSD.org, pho@NetBSD.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org, ryoon@NetBSD.org
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of
whitespace)
Date: Mon, 23 Jun 2014 16:17:01 +0900 (JST)
----Security_Multipart(Mon_Jun_23_16_17_01_2014_272)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sorry for being silent for almost a month.
From: venture37 <venture37@geeklan.co.uk>
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)
Date: Mon, 23 Jun 2014 01:14:15 +0100
>> 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.
Thank you very much for your patch. I'll apply it after the end of
pkgsrc freeze.
> 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
Well... ryoon@, can you remember why you patched lang/gcc46 so that
flag_stack_protect gets initialized with -1 not 0? -fstack-protector
will be effectively enabled by default then, and this is causing a
bootstrapping problem on platforms whose libc does not natively
provide functions for ssp. (I'm CC-ing him.)
_______________________________________________________
- PHO - http://cielonegro.org/
OpenPGP public key: 1024D/1A86EF72
Fpr: 5F3E 5B5F 535C CE27 8254 4D1A 14E7 9CA7 1A86 EF72
----Security_Multipart(Mon_Jun_23_16_17_01_2014_272)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iD8DBQBTp9RtFOecpxqG73IRAkTXAJwICsfQfog6VSYE/Kjkkl02gAtpdACfSDth
z5GIMTIl0j1JtweUXNPHCHQ=
=1iH9
-----END PGP SIGNATURE-----
----Security_Multipart(Mon_Jun_23_16_17_01_2014_272)----
From: venture37 <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org, pho@NetBSD.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Cc:
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)
Date: Thu, 07 Aug 2014 15:16:39 +0100
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--6alwOPfGp7GPVQAllU2iOPXw9cPfrEh2T
Content-Type: multipart/mixed;
boundary="------------080103060906010409050406"
This is a multi-part message in MIME format.
--------------080103060906010409050406
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
On 23/06/2014 01:14, venture37 wrote:
> The attached patch, fixes points 1 & 3 raised above.
Hi,
Can the diff previously submitted be committed. Re-attached for convenien=
ce.
--------------080103060906010409050406
Content-Type: text/plain; charset=UTF-8;
name="gcc45-diff.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="gcc45-diff.txt"
SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9jdnNyb290L3BrZ3Ny
Yy9sYW5nL2djYzQ1L01ha2VmaWxlLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjE2CmRpZmYg
LXUgLXIxLjE2IE1ha2VmaWxlCi0tLSBNYWtlZmlsZQkyOSBNYXkgMjAxNCAyMzozNjo0MiAt
MDAwMAkxLjE2CisrKyBNYWtlZmlsZQkyMiBKdW4gMjAxNCAxNDoyMjozNSAtMDAwMApAQCAt
ODksNiArODksMTQgQEAKIENPTkZJR1VSRV9BUkdTKz0JU1RSSVBfRk9SX1RBUkdFVD0ke1RP
T0xTX1BMQVRGT1JNLnN0cmlwfQogLmVuZGlmCiAKKy5pZiAhZW1wdHkoTUFDSElORV9QTEFU
Rk9STTpNRGFyd2luLVswLThdLiotKikKK0NPTkZJR1VSRV9BUkdTKz0JLS13aXRoLWR3YXJm
MgorLmVuZGlmCisKKy5pZiAhZW1wdHkoTUFDSElORV9QTEFURk9STTpNRGFyd2luLVswLThd
LiotcG93ZXJwYykKK0NPTkZJR1VSRV9BUkdTKz0JLS1kaXNhYmxlLW11bHRpbGliCisuZW5k
aWYKKwogQ09ORklHVVJFX0VOVis9CQlDT05GSUdfU0hFTEw9JHtDT05GSUdfU0hFTEx9CiAK
IE1BS0VfRU5WKz0JCVNIRUxMPSR7Q09ORklHX1NIRUxMfQo=
--------------080103060906010409050406--
--6alwOPfGp7GPVQAllU2iOPXw9cPfrEh2T
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJT44pLAAoJENE/+DdOy3tClvQP/2/qSQijyhZ3pYFmbJafDsTg
B3C+rbwiFI96WTvxhQV9Euf0ZHhxSmTMm0tAoCq7+Z8D0SPIJROQhZrg3kXvp8ot
9Y9J7mhR66drhJI0du1DMdzkPgy7nsvLt5hoJ9mP/Ey8P0OGh/RJt2jxxOtaBe0t
lgXU/Y+/DknyJT9BN+yMZ/MaH/gKPFA8KBk1umfXb/xcA7E6U5ugb14/pNtG/n3v
k6HEh9i7hnf9UIvzL7WemcN1K1LrQOKTkeZxxhfQ7jUpJUxJDneys9ZASbAH7qU5
LWtWglIxneKiWEmKCuFwASyhDf+H/Nt2Mk7kAoigLmaJT8tRWxYeHvO1uXZNHUpq
5ifzBCemwZmSolx6Tflw5qssedvGlE904zBhPSdBede9ePOkJzez5T3MCYYNYZDs
/UQR+NakHh24XMgepNrsh1hle8HVVAtw84JOf27X6H/pf482kwipsahZQ3jqW0iY
jatubUrPoMYE4Y622SuFYFlqVEetyyshwnNd179OkU3MV4TPBSbv5UeU+MG4SFxf
IpC2RpPN/EswPauBOsn3YVnauG98+rGIkYvJLpamW2Or04QxcxZvocUM5QdCKsmZ
MLbpbXCKe/53wzlEOgfu7Ga6KLerp8gq4biWJrz00rQjZOtriCdMDdbtUnkDdmEf
gkOGonwvJXHZSyrZJpFx
=amE3
-----END PGP SIGNATURE-----
--6alwOPfGp7GPVQAllU2iOPXw9cPfrEh2T--
From: "Masatake Daimon" <pho@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48740 CVS commit: pkgsrc/lang/gcc45
Date: Tue, 2 Sep 2014 09:41:56 +0000
Module Name: pkgsrc
Committed By: pho
Date: Tue Sep 2 09:41:56 UTC 2014
Modified Files:
pkgsrc/lang/gcc45: Makefile
Log Message:
PR pkg/48740 - Fix build issues on Darwin
Apply a patch by Sevan:
1. gcc needs to be built with dwarf2 if Darwin < 9
2. if you're building on a 32bit PowerPC Darwin < 9, disable multilib
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/lang/gcc45/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: PHO <pho@cielonegro.org>
To: venture37@geeklan.co.uk
Cc: gnats-bugs@NetBSD.org, pho@NetBSD.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of
whitespace)
Date: Tue, 02 Sep 2014 18:45:36 +0900 (JST)
----Security_Multipart(Tue_Sep__2_18_45_36_2014_774)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: venture37 <venture37@geeklan.co.uk>
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)
Date: Thu, 07 Aug 2014 15:16:39 +0100
>
> On 23/06/2014 01:14, venture37 wrote:
>> The attached patch, fixes points 1 & 3 raised above.
>
> Hi,
> Can the diff previously submitted be committed. Re-attached for convenience.
I'm sorry for being silent again.
I just committed your patch to lang/gcc45.
_______________________________________________________
- PHO - http://cielonegro.org/
OpenPGP public key: 1024D/1A86EF72
Fpr: 5F3E 5B5F 535C CE27 8254 4D1A 14E7 9CA7 1A86 EF72
----Security_Multipart(Tue_Sep__2_18_45_36_2014_774)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iD8DBQBUBZHAFOecpxqG73IRAlqVAJ4stjRpPg1jADeKhbQiT4lAGZ4bpgCgkdR7
vJs7zAwpYqfHkkkewldpTEk=
=igQB
-----END PGP SIGNATURE-----
----Security_Multipart(Tue_Sep__2_18_45_36_2014_774)----
From: "Masatake Daimon" <pho@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48740 CVS commit: pkgsrc/lang/gcc46/patches
Date: Tue, 2 Sep 2014 09:57:39 +0000
Module Name: pkgsrc
Committed By: pho
Date: Tue Sep 2 09:57:39 UTC 2014
Modified Files:
pkgsrc/lang/gcc46/patches: patch-gcc_common.opt
Log Message:
PR pkg/48740 - Fix build issues on Darwin < 9 and possibly other platforms
patches/patch-gcc_common.opt had a hunk that makes -fstack-protector enabled by default (without any comments) but it causes a bootstrapping problem on platforms whose libc don't provide functions for ssp.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/gcc46/patches/patch-gcc_common.opt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: PHO <pho@cielonegro.org>
To: gnats-bugs@NetBSD.org, venture37@geeklan.co.uk
Cc: gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org, ryoon@NetBSD.org
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of
whitespace)
Date: Tue, 02 Sep 2014 19:02:56 +0900 (JST)
----Security_Multipart(Tue_Sep__2_19_02_56_2014_546)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
And for lang/gcc46 I changed patches/patch-gcc_common.opt so that
-fstack-protector will no longer be enabled by default. ryoon@, please
tell me if there's a strong reason why it should be enabled.
_______________________________________________________
- PHO - http://cielonegro.org/
OpenPGP public key: 1024D/1A86EF72
Fpr: 5F3E 5B5F 535C CE27 8254 4D1A 14E7 9CA7 1A86 EF72
----Security_Multipart(Tue_Sep__2_19_02_56_2014_546)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iD8DBQBUBZXQFOecpxqG73IRAkGLAJ9tOGb6kutpwWVvoiY6TNoQYnxA9wCfW+V4
XJEK7pibWFsD/nlSiS1T//M=
=QNuW
-----END PGP SIGNATURE-----
----Security_Multipart(Tue_Sep__2_19_02_56_2014_546)----
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 04 Sep 2019 22:15:31 +0000
State-Changed-Why:
Closing this bug because: it seems most (all?) of the points were addressed at the time, and we also thinned out the remaining GCC versions at some point, so the only remaining problematic one, gcc46, was already removed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.