Handbook Talk:IA64/Installation/Stage

From Gentoo Wiki
Jump to:navigation Jump to:search

These switches break the ia64 build

Talk status
This discussion is done as of 15 July 2022.

In 2016-09-xx, entering "-march=native" into file "make.conf" will build no files. This is because the IA64 version of gcc on Gentoo can only generate "ia64" code and so does not support the "-march" switch. This compiler does support the "-mtune" switch with values of "itanium1" and "itanium2" but this version of gcc defaults to "itanium2" so I suggest not modifying this file at all (at least not for the initial first few builds). Now if things don't build properly then I suggest using "-mtune=itanium1" which is were HP left their contribution to the Linux would things after they shifted transferred their collective attentions back to HP-UX. Similarly, I don't think it is wise during a first build to add MAKEOPTS to file "make.conf". Play around with these once you a more comfortable with the Gentoo build tools. Neilrieck (talk) 18:16, 27 September 2016 (UTC)

Indeed. With GCC 11.2.1_p20220115, there's no -march=*, and for -mtune=, I get "gcc: note: valid arguments to '-mtune=' are: itanium2 mckinley". At least with how the page reads now, 6 years later, it doesn't read to me as if it's forcing you to use either. I think the phrasing may have improved in the base template in the meantime. I'll close this for now but if you feel it's unresolved, let me know. --Sam (talk) 06:48, 15 July 2022 (UTC)