Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10010 - reiserfsprogs-3.6.4 fails to compile on PPC
Summary: reiserfsprogs-3.6.4 fails to compile on PPC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Jonathan Nall
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-31 08:44 UTC by Chris PeBenito (RETIRED)
Modified: 2006-02-04 06:03 UTC (History)
2 users (show)

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


Attachments
Emerge log for reiserfsprogs-3.6.4 on PPC (reiserfsprogs-3.6.4.ppc.log,249.33 KB, text/plain)
2002-10-31 08:45 UTC, Chris PeBenito (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris PeBenito (RETIRED) gentoo-dev 2002-10-31 08:44:36 UTC
Reiserfsprogs fails to compile on PPC using gcc 2.95.3-r7, glibc 2.2.5-r7.

Linker errors like:
gcc  -O2 -pipe -mmultiple -mstring  -o reiserfsck  main.o pass0.o pass1.o
pass2.o semantic_check.o semantic_rebuild.o pass4.o lost+found.o ubitmap.o
uobjectid.o ustree.o ufile.o check_tree.o info.o super.o ../lib/libmisc.a
../reiserfscore/libcore.a 

main.o: In function `reset_super_block':

main.o(.text+0xdf4): undefined reference to `swab32'

main.o(.text+0xdf4): relocation truncated to fit: R_PPC_REL24 swab32

main.o(.text+0xdfc): undefined reference to `swab32'
[...]

See attached emerge log for complete output.
Comment 1 Chris PeBenito (RETIRED) gentoo-dev 2002-10-31 08:45:12 UTC
Created attachment 5236 [details]
Emerge log for reiserfsprogs-3.6.4 on PPC
Comment 2 Lapo Calamandrei 2002-10-31 12:45:59 UTC
same problem here, same compiler and lib, portage 2.0.43
Comment 3 Jonathan Nall 2002-11-02 15:12:09 UTC
this bug involves reiserfsprogs relying on the fact that some i386 kernel
headers are broken. these headers are not broken on ppc and cause reiserfsprogs
compilation to fail. i've written the reiserfsprogs folks with the proper
solution. hopefully they'll fix their code.

in the meantime, i've made a patch for resierfsprogs-3.6.4.
 
please emerge rsync and try reiserfsprogs-3.6.4-r1. this compiles and runs on my
ppc, but i don't have reiserFS, so i can't really test the functionality.

please post your results.
Comment 4 Jonathan Nall 2002-11-02 16:58:59 UTC
CC'ing sparc devs on this as i think the patch should apply against sparc as
well, but i don't have a box to test on.
Comment 5 Chris PeBenito (RETIRED) gentoo-dev 2002-11-03 19:15:36 UTC
I tried 3.6.4-r1, and it compiles; unfortunately, I don't have any reiserfs
partitions, so I can't test the functionality either.
Comment 6 Jonathan Nall 2002-11-07 09:46:51 UTC
i'm closing this as it compiles and runs under PPC, but noone running PPC
actually has ResierFS installed.