gcc, llvm-gcc, comparison of linux build

Super Biscuit super_bisquit at yahoo.com
Fri Jan 21 17:15:16 UTC 2011


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 operator.

"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. 



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 before attempting it on freebsd ppc.



c++ -o jsdbgapi.o -c  -fvisibility=hidden -DOSTYPE=\"Linux2.6\"
-DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS  -I.. -I.
-I./dist/include -I./dist/include/nsprpub     -I.. -I../assembler
-I../yarr  -fPIC  -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=return-type -pedantic -Wno-long-long
-fno-strict-aliasing -pthread -pipe  -DNDEBUG -DTRIMMED
-DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1  
-DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdbgapi.pp
../jsdbgapi.cpp

../jsdbgapi.cpp: In function ‘JSBool js_SetSingleStepMode(JSContext*, JSScript*, JSBool)’:

../jsdbgapi.cpp:189: error: ‘struct JSScript’ has no member named ‘singleStepMode’

../jsdbgapi.cpp: At global scope:

../jsdbgapi.cpp:120: warning: ‘void PurgeCallICs(JSContext*, JSScript*)’ defined but not used

make[1]: *** [jsdbgapi.o] Error 1

make[1]: Leaving directory `/tmp/jaegermonkey/js/src/build-release'

make: *** [default] Error 2

 That'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 at gmail.com> wrote:

From: Justin Hibbits <chmeeedalf at gmail.com>
Subject: Re: Proof # 2 for agp andwhy is gcc still at 3.4 for normal users?
To: "Super Biscuit" <super_bisquit at yahoo.com>
Cc: freebsd-ppc at 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
> 
> http://sites.google.com/site/tingox/powermac_g4_freebsd
> 
> I noticed that he had the same problems:
> 
> 1) An AGP slot on the motherboard with an AGP card in it.
> 2) Xorg hung for no apparent reason.
> 
> Foregoing Whitehorn's advice of not building agp.ko, I built it.
> 
> After I installed the module, loaded it, and kldloaded it. The AGP card as then recognized.
> It can be unloaded after. Logic boards with AGP must have this module loaded at least once.
> 
> This problem only seems to exist on certain models of PowerMac G4 with an agp slot.
> 
> 
> B) GCC is behind.
> 
> No, I don't care who likes this next part or any of this email. You can toss it and block me.
> 
>
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.  It provides
absolutely nothing though, except a mostly useless /dev/agpgart (my
machine is a single MDD).  However, system gcc on ppc is 4.2.1, just
like on every other architecture.  The ports are broken, though, last
time I checked.  I've managed to build gcc 4.4.0 successfully with some
hacks, but nothing worth sharing.



      


More information about the freebsd-ppc mailing list