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.
Created attachment 5236 [details] Emerge log for reiserfsprogs-3.6.4 on PPC
same problem here, same compiler and lib, portage 2.0.43
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.
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.
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.
i'm closing this as it compiles and runs under PPC, but noone running PPC actually has ResierFS installed.