Gentoo Portage CPU_FLAGS_X86 Introduction (2015-01-28)

A reminder from “eselect news read 11” for those that wish to optimize the compiled code for their Gentoo systems:

2015-01-28-cpu_flags_x86-introduction Title CPU_FLAGS_X86 introduction Author Michał Górny Posted 2015-01-28 Revision 2

The USE flags corresponding to the instruction sets and other features specific to the x86 (amd64) architecture are being moved into a separate USE . . . → Read More: Gentoo Portage CPU_FLAGS_X86 Introduction (2015-01-28)

Gentoo python3.3 – dev-lang/python-3.3.5-r3::gentoo (masked by: package.mask)

Python 3.3 has been depreciated

For those of us on Gentoo trying to do the usual system updates test with a command line:

emerge –sync && emerge -pvDu world

– this time round if you have any Python 3.3 enabled anywhere, you will see something like:

These are the packages that would be merged, in order:

Calculating . . . → Read More: Gentoo python3.3 – dev-lang/python-3.3.5-r3::gentoo (masked by: package.mask)

Gentoo-isms #2 – Can’t load firmware file

So, you find in your kernel logs or elsewhere some error message something like:

bnx2: Can’t load firmware file “bnx2/bnx2-mips-09-6.2.1b.fw”

That indicates there is a binary blob (or whatever firmware) missing that is needed for that device.

The fix is to load up the Gentoo packaged firmware files. Most are in (surprise, surprise 😉 ) . . . → Read More: Gentoo-isms #2 – Can’t load firmware file

Gentoo-isms #1 – gcc profile fix

How To Fix a “gcc profile is invalid”

Scenario: (all as the “root” user, or via “sudo”)

You run an update with “emerge” and all goes well. Then for good housekeeping, you run a “depclean”.

And then you find that nothing will compile! Typical errors are such as any/all of:

configure: error: C compiler cannot . . . → Read More: Gentoo-isms #1 – gcc profile fix

Gentoo Dracut btrfs Quirk

Not sure if this is a real bug or just an unexpected feature…

For Gentoo at least, the easiest way to boot onto a multi-device btrfs root is to use the “dracut” utility to create an initramfs to do the “btrfs device scan” to find all the disks to get your btrfs raid/jbod up and . . . → Read More: Gentoo Dracut btrfs Quirk