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

Bug 36926

Summary: dosfsutils fails to build w/ hardened-gcc enabled
Product: Gentoo Linux Reporter: John Davis (zhen) (RETIRED) <zhen>
Component: Current packagesAssignee: The Gentoo Linux Hardened Team <hardened>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John Davis (zhen) (RETIRED) gentoo-dev 2003-12-31 17:07:56 UTC
fails w/ the following msg:

make -C mkdosfs all
make[1]: Entering directory `/var/tmp/portage/dosfstools-2.8-r3/work/dosfstools-2.8/mkdosfs'
gcc -O2 -fomit-frame-pointer -Wall  -c mkdosfs.c -o mkdosfs.o
mkdosfs.c: In function `_llseek':
mkdosfs.c:110: can't find a register in class `BREG' while reloading `asm'
make[1]: *** [mkdosfs.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dosfstools-2.8-r3/work/dosfstools-2.8/mkdosfs'
make: *** [all] Error 2

!!! ERROR: sys-fs/dosfstools-2.8-r3 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)


catalyst: GRP build aborting due to error.


Reproducible: Always
Steps to Reproduce:
1.hardened-gcc -A
2.emerge dosfstools
3.
Comment 1 solar (RETIRED) gentoo-dev 2003-12-31 18:33:25 UTC
zhen,

I added a filter-flags -fPIC to this package about a month ago in the 
~arch tree. The version that is being built for grp is four months old
already. We have users that report that ~arch dosfstools works for them
just fine with the the fPIC filtering.

So is there any reason a newer dosfstools such as dosfstools-2.9.ebuild 
or dosfstools-2.10.ebuild are still in ~arch keywords?
I assume see them bumped vs adding a filter-flags to the older version.

KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa"
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2004-01-04 23:09:27 UTC
I talked to mholzer and he bumped dosfstools to 2.10 :)
Thanks solar