Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657522 - =sys-devel/gcc-7.3.0: fails to compile on Darwin
Summary: =sys-devel/gcc-7.3.0: fails to compile on Darwin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: PPC OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-07 08:13 UTC by Fabian Groffen
Modified: 2018-06-07 10:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2018-06-07 08:13:03 UTC
powerpc-apple-darwin9-g++ -std=gnu++98 -c     -DIN_GCC    -fno-strict-aliasing -
fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -
Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic
 -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -
DGENERATOR_FILE -fno-PIE -I. -Ibuild -I/Volumes/Scratch/Gentoo/Leopard/var/tmp/p
ortage/sys-devel/gcc-7.3.0-r3/work/gcc-7.3.0/gcc -I/Volumes/Scratch/Gentoo/Leopa
rd/var/tmp/portage/sys-devel/gcc-7.3.0-r3/work/gcc-7.3.0/gcc/build -I/Volumes/Sc
ratch/Gentoo/Leopard/var/tmp/portage/sys-devel/gcc-7.3.0-r3/work/gcc-7.3.0/gcc/.
./include  -I/Volumes/Scratch/Gentoo/Leopard/var/tmp/portage/sys-devel/gcc-7.3.0
-r3/work/gcc-7.3.0/gcc/../libcpp/include -I/Volumes/Scratch/Gentoo/Leopard/usr/i
nclude \
        -o build/gengtype-state.o /Volumes/Scratch/Gentoo/Leopard/var/tmp/portage/sys-devel/gcc-7.3.0-r3/work/gcc-7.3.0/gcc/gengtype-state.c
powerpc-apple-darwin9-g++ -std=gnu++98     -DIN_GCC    -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-dead_strip_dylibs -no-pie -o build/genconstants \
    build/genconstants.o build/read-md.o build/errors.o ../build-powerpc-apple-darwin9/libiberty/libiberty.a
ld: unknown option: -no_pie
collect2: ld returned 1 exit status
make[3]: *** [Makefile:2793: build/genconstants] Error 1
make[3]: *** Waiting for unfinished jobs....
Comment 1 Larry the Git Cow gentoo-dev 2018-06-07 10:49:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=108a86ab528461f7feb43e967a5d94b87921e6f2

commit 108a86ab528461f7feb43e967a5d94b87921e6f2
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2018-06-07 10:49:31 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2018-06-07 10:49:31 +0000

    sys-devel/gcc: fix usage of -no-pie and -fno-PIE, bug #657522
    
    Closes: https://bugs.gentoo.org/657522
    Package-Manager: Portage-2.3.40.1-prefix, Repoman-2.3.9

 sys-devel/gcc/gcc-7.3.0-r3.ebuild | 11 +++++++++++
 1 file changed, 11 insertions(+)