Date: Fri, 21 Jan 2011 09:15:15 -0800 (PST) From: Super Biscuit <super_bisquit@yahoo.com> To: freebsd-ppc@freebsd.org Subject: gcc, llvm-gcc, comparison of linux build Message-ID: <779339.56356.qm@web110114.mail.gq1.yahoo.com>
next in thread | raw e-mail | index | archive | help
Building llvm-gcc4: /libexec/ld-elf.so.1:/usr/ports/lang/llvm-gcc4/work/llvm-gcc-4.2-2.8.source= /obj/.gcc/libgcc_s.so,1: Unsupported relocation type 6 in non-PLT relocations gmake[5]:*** [nof/crtbegin.o] Error 1 Running ./configure and make from work/llvm-gcc [ -f stage_final ] echo stage3 > stage_final rm -f stage_current "Makefile", line 42 (along with lines 208 & 256) : Missing dependency opera= tor. "Makefile" , line 44 (along with lines 46, 210, & 213) : Need an operator. make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /usr/ports/lang/llvm-gcc4/work/llvm-gcc-4.2-2.8.source/obj. Yes, I am emotionally unstable. Yes, I am on medication and going to therapy. No, I do not excuse my actions and reactions. Yes, I take responsibility for what I wrote.=20 Anyway, there be the build errors. I'm trying to finish this first before a reinstall. I am also trying to build jaegermonkey javascript on debian ppc first befor= e attempting it on freebsd ppc. c++ -o jsdbgapi.o -c=C2=A0 -fvisibility=3Dhidden -DOSTYPE=3D\"Linux2.6\" -DOSARCH=3DLinux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS=C2=A0 -I.. -I. -I./dist/include -I./dist/include/nsprpub=C2=A0=C2=A0=C2=A0=C2=A0 -I.. -I..= /assembler -I../yarr=C2=A0 -fPIC=C2=A0 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=3Dreturn-type -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe=C2=A0 -DNDEBUG -DTRIMMED -DUSE_SYSTEM_MALLOC=3D1 -DENABLE_ASSEMBLER=3D1 -DENABLE_JIT=3D1=C2=A0=C2=A0 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdbgapi.pp ../jsdbgapi.cpp ../jsdbgapi.cpp: In function =E2=80=98JSBool js_SetSingleStepMode(JSContext= *, JSScript*, JSBool)=E2=80=99: ../jsdbgapi.cpp:189: error: =E2=80=98struct JSScript=E2=80=99 has no member= named =E2=80=98singleStepMode=E2=80=99 ../jsdbgapi.cpp: At global scope: ../jsdbgapi.cpp:120: warning: =E2=80=98void PurgeCallICs(JSContext*, JSScri= pt*)=E2=80=99 defined but not used make[1]: *** [jsdbgapi.o] Error 1 make[1]: Leaving directory `/tmp/jaegermonkey/js/src/build-release' make: *** [default] Error 2 =C2=A0That's the gcc build error from debian. I am not sure if it means anything; but, I am assuming that the same or similar error will occur with gcc on freebsd powerpc. --- On Fri, 1/21/11, Justin Hibbits <chmeeedalf@gmail.com> wrote: From: Justin Hibbits <chmeeedalf@gmail.com> Subject: Re: Proof # 2 for agp andwhy is gcc still at 3.4 for normal users? To: "Super Biscuit" <super_bisquit@yahoo.com> Cc: freebsd-ppc@freebsd.org Date: Friday, January 21, 2011, 2:47 AM On Jan 20, 2011, at 6:41 PM, Super Biscuit wrote: > http://sites.google.com/site/tingox/powermac_g4 >=20 > http://sites.google.com/site/tingox/powermac_g4_freebsd >=20 > I noticed that he had the same problems: >=20 > 1) An AGP slot on the motherboard with an AGP card in it. > 2) Xorg hung for no apparent reason. >=20 > Foregoing Whitehorn's advice of not building agp.ko, I built it. >=20 > After I installed the module, loaded it, and kldloaded it. The AGP card a= s then recognized. > It can be unloaded after. Logic boards with AGP must have this module loa= ded at least once. >=20 > This problem only seems to exist on certain models of PowerMac G4 with an= agp slot. >=20 >=20 > B) GCC is behind. >=20 > No, I don't care who likes this next part or any of this email. You can t= oss it and block me. >=20 > GCC for freebsd powerpc is way behind. I am following a howto plus converting deb to tar.gz packages right now. Is this necessary? I can't answer the agp thing, I just build with it.=C2=A0 It provides absolutely nothing though, except a mostly useless /dev/agpgart (my machine is a single MDD).=C2=A0 However, system gcc on ppc is 4.2.1, just like on every other architecture.=C2=A0 The ports are broken, though, last time I checked.=C2=A0 I've managed to build gcc 4.4.0 successfully with som= e hacks, but nothing worth sharing. =0A=0A=0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?779339.56356.qm>