Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 131467

Summary: sys-libs/timezone-data fails to compile on pentium-m
Product: Gentoo Linux Reporter: Brett Johnson <brett>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Brett Johnson 2006-04-27 08:39:20 UTC
It appears timezone-data does not like march=pentium-m:

cc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium-m -O3 -pipe
-fomit-frame-pointer -std=c99   -c -o zic.o zic.c
cc1: error: bad value (pentium-m) for -march= switch
cc1: error: bad value (pentium-m) for -mcpu= switch
make: *** [zic.o] Error 1

!!! ERROR: sys-libs/timezone-data-2006a failed.

but this works:
CFLAGS="-march=pentium4" emerge -av sys-libs/timezone-data
Comment 1 Brett Johnson 2006-04-27 14:57:49 UTC
I forgot to remove gcc-3.3.6 from my system and for some reason this (and a couple other ebuids) were defaulting to 3.3.6 instead of 3.4.3