Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

failed to emerge gcc [installation]

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
drudox
l33t
l33t
User avatar
Posts: 965
Joined: Thu Jan 28, 2016 9:19 am

failed to emerge gcc [installation]

  • Quote

Post by drudox » Mon Jun 01, 2026 1:46 pm

I run emerge world (with the options of the wiki) .. my cpu is an i7-14700K .. in a previous post related to my broken system I got the advice to use as COMMON_FLAGS=" -march=native...; here https://forums.gentoo.org/viewtopic.ph ... 0&start=50

but I got this build.log : https://bpa.st/Y2EA

basically compiler said :

Code: Select all

* Messages for package sys-devel/gcc-16.1.0:

 * Different values of l1-cache-size detected!
 * GCC will fail to bootstrap when comparing files with these flags.
 * This CPU is likely big.little/hybrid hardware with power/efficiency cores.
 * Please install app-misc/resolve-march-native and run 'resolve-march-native'
 * to find a safe value of CFLAGS for this CPU. Note that this may vary
 * depending on the core it ran on. taskset can be used to fix the cores used.
 * ERROR: sys-devel/gcc-16.1.0::gentoo failed (configure phase):
installed and run resolve-march-native
I got :

Code: Select all

resolve-march-native
-march=alderlake -mabm -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=33792
what I should do ??? never read something about ... :oops:
Top
Post Reply
1 post • Page 1 of 1

Return to “Duplicate Threads”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy