
2009/5/2 Jens Petersen
So I tried doing an unregisterised ppc build with:
echo "GhcUnregisterised=YES" >> mk/build.mk echo "GhcWithNativeCodeGen=NO" >> mk/build.mk echo "SplitObjs=NO" >> mk/build.mk
Are these the right build config settings?
but this failed with: : Linking dist-stage2/build/ghc/ghc ... : (.text+0x20): relocation truncated to fit: R_PPC_REL24 against symbol `__libc_start_main@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/ppc64-redhat-linux/4.4.0/../../../../lib/crt1.o /usr/lib/gcc/ppc64-redhat-linux/4.4.0/crtbegin.o:(.fini+0x0): relocation truncated to fit: R_PPC_REL24 against `.text'
I thought maybe it was a gcc44 issue, but similar with gcc43: Building ghc-bin-6.10.2... [1 of 1] Compiling Main ( Main.hs, dist-stage2/build/ghc/ghc-tmp/Main.o ) Linking dist-stage2/build/ghc/ghc ... /usr/lib/gcc/ppc64-redhat-linux/4.3.2/../../../../lib/crt1.o: In function `_start': (.text+0x20): relocation truncated to fit: R_PPC_REL24 against symbol `__libc_start_main@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/ppc64-redhat-linux/4.3.2/../../../../lib/crt1.o /usr/lib/gcc/ppc64-redhat-linux/4.3.2/crtbegin.o:(.fini+0x0): relocation truncated to fit: R_PPC_REL24 against `.text' /usr/lib/gcc/ppc64-redhat-linux/4.3.2/crtend.o:(.init+0x0): relocation truncated to fit: R_PPC_REL24 against `.text' dist-stage2/build/ghc/ghc-tmp/Main.o: In function `r6Xf_entry': ghc5050_0.hc:(.text+0x448): relocation truncated to fit: R_PPC_REL24 against symbol `newCAF' defined in .text section in /builddir/build/BUILD/ghc-6.10.2/rts/libHSrts.a(Storage.o) dist-stage2/build/ghc/ghc-tmp/Main.o: In function `r6Xj_entry': ghc5050_0.hc:(.text+0x5ac): relocation truncated to fit: R_PPC_REL24 against symbol `newCAF' defined in .text section in /builddir/build/BUILD/ghc-6.10.2/rts/libHSrts.a(Storage.o) dist-stage2/build/ghc/ghc-tmp/Main.o: In function `r6Xn_entry': ghc5050_0.hc:(.text+0x6dc): relocation truncated to fit: R_PPC_REL24 against symbol `newCAF' defined in .text section in /builddir/build/BUILD/ghc-6.10.2/rts/libHSrts.a(Storage.o) dist-stage2/build/ghc/ghc-tmp/Main.o: In function `r6Xp_entry': ghc5050_0.hc:(.text+0x7c4): relocation truncated to fit: R_PPC_REL24 against symbol `newCAF' defined in .text section in /builddir/build/BUILD/ghc-6.10.2/rts/libHSrts.a(Storage.o) dist-stage2/build/ghc/ghc-tmp/Main.o: In function `r6Xr_entry': ghc5050_0.hc:(.text+0x8ac): relocation truncated to fit: R_PPC_REL24 against symbol `newCAF' defined in .text section in /builddir/build/BUILD/ghc-6.10.2/rts/libHSrts.a(Storage.o) dist-stage2/build/ghc/ghc-tmp/Main.o: In function `r6Xv_entry': ghc5050_0.hc:(.text+0xbe8): relocation truncated to fit: R_PPC_REL24 against symbol `newCAF' defined in .text section in /builddir/build/BUILD/ghc-6.10.2/rts/libHSrts.a(Storage.o) dist-stage2/build/ghc/ghc-tmp/Main.o: In function `Main_a13_entry': ghc5050_0.hc:(.text+0xcd0): relocation truncated to fit: R_PPC_REL24 against symbol `newCAF' defined in .text section in /builddir/build/BUILD/ghc-6.10.2/rts/libHSrts.a(Storage.o) dist-stage2/build/ghc/ghc-tmp/Main.o: In function `Main_a14_entry': ghc5050_0.hc:(.text+0xdb8): additional relocation overflows omitted from the output collect2: ld returned 1 exit status http://koji.fedoraproject.org/koji/taskinfo?taskID=1333608 Any thoughts? Jens