Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14155 - module-init-tools-0.9.9_pre1 not compiling
Summary: module-init-tools-0.9.9_pre1 not compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-18 15:30 UTC by Nathan W. Labadie
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan W. Labadie 2003-01-18 15:30:56 UTC
I'm getting the following error when compiling module-init-tools-0.9.9_pre1:

---snip---
gcc -march=pentium3 -O3 -pipe -fPIC -DPIC -I./../include -D_GNU_SOURCE 
-DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386  -c -o
sys_oim.o sys_oim.c
sys_oim.c: In function `old_sys_init_module':
sys_oim.c:38: can't find a register in class `BREG' while reloading `asm'
make[1]: *** [sys_oim.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/module-init-tools-0.9.9_pre1/work/modutils-2.4.22/util'
make: *** [all] Error 2

!!! ERROR: sys-apps/module-init-tools-0.9.9_pre1 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! emake modultils failed
---snip---

This seems to be related to FEATURES="prelink" and having -fPIC in the CFLAGS.
When -fPIC is removed, it compiles without any problems.
Comment 1 Brandon Low (RETIRED) gentoo-dev 2003-01-19 01:04:11 UTC
Ok, I'll filter it next ebuild.
Comment 2 Brandon Low (RETIRED) gentoo-dev 2003-01-19 15:20:34 UTC
done