Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94762 - dmraid in genkernel breaks on ppc
Summary: dmraid in genkernel breaks on ppc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Other
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-06-01 12:44 UTC by Lars Weiler (RETIRED)
Modified: 2005-11-22 12:08 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 Lars Weiler (RETIRED) gentoo-dev 2005-06-01 12:44:51 UTC
That's the error message:

gcc -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DDMRAID_TEST -O2                -D_LARGEFILE64_SOURCE format/ataraid/pdc.c -o format/ataraid/pdc.o
format/ataraid/pdc.c: In function `to_cpu':
format/ataraid/pdc.c:105: error: parse error before ';' token
format/ataraid/pdc.c: In function `pdc_read':
format/ataraid/pdc.c:168: warning: passing arg 6 of `read_raid_dev' from incompatible pointer type
make[1]: *** [format/ataraid/pdc.o] Error 1
make[1]: Leaving directory `/var/tmp/genkernel/dmraid/1.0.0.rc6/lib'

This happens with either version 1.0.0.rc6 and rc8.
Comment 1 Eric Edgar (RETIRED) gentoo-dev 2005-07-11 09:24:48 UTC
Is this still an issue?
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2005-07-13 14:49:19 UTC
Yep, still an issue with current genkernel-3.2.2.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2005-11-05 14:07:20 UTC
Looking at the changes between rc8 and rc9, rc9 seems to fix this in pdc.c. Mind
giving that a try?
Comment 4 Lars Weiler (RETIRED) gentoo-dev 2005-11-05 14:18:23 UTC
Sure, I can try.
Comment 5 Lars Weiler (RETIRED) gentoo-dev 2005-11-06 16:39:37 UTC
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                                  
                                                                   
Comment 6 Eric Edgar (RETIRED) gentoo-dev 2005-11-21 09:59:42 UTC
dmraid 1.0.0.rc9 fixes this issue.
Comment 7 Eric Edgar (RETIRED) gentoo-dev 2005-11-22 12:08:42 UTC
 fixed in 3.3.7