View previous topic :: View next topic |
Author |
Message |
thunderbird32 n00b

Joined: 25 Sep 2019 Posts: 3
|
Posted: Wed Sep 25, 2019 2:40 pm Post subject: dev-libs/elfutils-0.176-r1: C compiler cannot create ... |
|
|
[Moderator edit: Changed title to try to attract relevant answers. Original title was Unable to Emerge Gentoo-Sources, but the problem isn't about sys-kernel/gentoo-sources. Rather, the poster wanted sys-kernel/gentoo-sources and got a failure in a prerequisite package. -Hu]
Hello,
I'm attempting to install Gentoo on a Powermac G5, and am following the PPC64 handbook. I'm currently on the "Installing the sources" step on the Kernel page. When I attempt to run the command: "emerge --ask sys-kernel/gentoo-sources "
I get the error:
Code: |
...
checking for powerpc64-unknown-linux-gnu-gcc... powerpc64-unknown-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/dev-libs/elfutils-0.176-r1/work/elfutils-0.176-.ppc64':
configure: error: C compiler cannot create executables
See `config.log' for more details
...
|
See here for complete results (http://dpaste.com/241H6QN)
Here is the build log: http://dpaste.com/2HPQM42
The output of the command "emerge --info '=dev-libs/elfutils-0.176-r1::gentoo'" http://dpaste.com/32F82G2
and the output of the command "emerge -pqv '=dev-libs/elfutils-0.176-r1::gentoo'" http://dpaste.com/2TT8987
Any help would be greatly appreciated. Thank you! |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31493 Location: here
|
Posted: Wed Sep 25, 2019 3:06 pm Post subject: |
|
|
You are sure that -march=native works with ppc64? Try this configuration for G5 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
thunderbird32 n00b

Joined: 25 Sep 2019 Posts: 3
|
Posted: Wed Sep 25, 2019 3:32 pm Post subject: |
|
|
I'm not sure, no. This is the first time I've done a PPC64 install. I'll try your recommendation and get back to you. Thank you! |
|
Back to top |
|
 |
thunderbird32 n00b

Joined: 25 Sep 2019 Posts: 3
|
Posted: Wed Sep 25, 2019 3:50 pm Post subject: |
|
|
fedeliallalinea wrote: | You are sure that -march=native works with ppc64? Try this configuration for G5 |
That seems to have worked! The only thing I didn't change was the CHOST variable. I left that set to PPC64. Regardless it seems to be working as expected currently. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31493 Location: here
|
Posted: Wed Sep 25, 2019 4:09 pm Post subject: |
|
|
thunderbird32 wrote: | That seems to have worked! The only thing I didn't change was the CHOST variable. I left that set to PPC64. Regardless it seems to be working as expected currently. |
CHOST should never be changed
Code: | # WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 10734 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Sep 25, 2019 6:06 pm Post subject: |
|
|
Moved from Installing Gentoo to Gentoo on PPC.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
 |
schwarzygesetzlos Apprentice

Joined: 11 Dec 2004 Posts: 189 Location: Funeralopolis
|
|
Back to top |
|
 |
|