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: 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.
Home |
Main Index |
Thread Index |
Old Index