Hi everyone,

Keeping with the previous post, i’m announcing the following changes for ARM stage3s.

The optimization flag on the default CFLAGS/CXXFLAGS will be changed from -Os to -O2 as of this month stage3.

This is a change we’re doing so we don’t hit bugs undiscovered until we hit them like bug 331641 which only ocurred when using -Os and was reported by Gentoo users. Also that way we use the same optimization flag used on the rest of the arches and distributions.

If you still want to use -Os you’re free to do so, like whatever CFLAGS you want to use.


One Response to “New ARM CFLAGS/CXXFLAGS on Gentoo”

  1. Jimbo Says:

    Sorry to dig up an old topic, but gentoo isn’t allowing me to change CFLAGS on my armv5tel machine. I have this in my make.conf and have run env-update:

    spad ~ # grep ^CFLAG /etc/make.conf
    CFLAGS=”-Os -march=armv5te -fomit-frame-pointer”
    spad ~ #

    But everything I’ve compiled so far is using “-O2 -pipe -march=armv5te” for CFLAGS. What gives?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: