Handbook Talk:PPC64/Installation/Stage

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they will show up in the list of open discussions.

no -march=native option for PPC

Talk status
This discussion is still ongoing.

The reference to -march (and presumably -mtune) in the CFLAGS and CXXFLAGS causes problems fow newbies. I added "-march=native" and ran into emerge build problems, first for the cpuid2cpuflags tool and then at the first step of kernel source download (elf utils). Build logs listed several issues and this option was among them so luckily I tried removing that from make.conf and then builds succeeded. --Exuberantmonkey (talk) 22:32, 9 May 2023 (UTC)