| Summary: | dmraid in genkernel breaks on ppc | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Lars Weiler (RETIRED) <pylon> |
| Component: | [OLD] Core system | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | Keywords: | InVCS |
| Priority: | High | ||
| Version: | 2005.0 | ||
| Hardware: | PPC | ||
| OS: | Other | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Lars Weiler (RETIRED)
2005-06-01 12:44:51 UTC
Is this still an issue? Yep, still an issue with current genkernel-3.2.2. Looking at the changes between rc8 and rc9, rc9 seems to fix this in pdc.c. Mind giving that a try? Sure, I can try. Still fails, but this time with a linker issue:
gcc -c -I -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG
-fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -O2
-D_LARGEFILE64_SOURCE toollib.c -o toollib.o
gcc -o dmraid dmraid.o commands.o toollib.o
-L/var/tmp/genkernel/15606.22030.9012.20842/device-mapper/lib -static -L../lib \
-L/lib -ldmraid -ldevmapper -lselinux
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../powerpc-unknown-linux-gnu/bin/ld:
cannot find -lselinux collect2: ld returned 1 exit status
make[1]: *** [dmraid] Error 1
make[1]: Leaving directory
`/var/tmp/genkernel/15606.22030.9012.20842/dmraid/1.0.0.rc9/tools'
make: *** [tools] Error 2
dmraid 1.0.0.rc9 fixes this issue. fixed in 3.3.7 |