From owner-freebsd-ppc@FreeBSD.ORG Fri Jan 21 17:15:16 2011 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4B9A106566C for ; Fri, 21 Jan 2011 17:15:16 +0000 (UTC) (envelope-from super_bisquit@yahoo.com) Received: from nm12-vm0.bullet.mail.sp2.yahoo.com (nm12-vm0.bullet.mail.sp2.yahoo.com [98.139.91.242]) by mx1.freebsd.org (Postfix) with SMTP id 8E4838FC0A for ; Fri, 21 Jan 2011 17:15:16 +0000 (UTC) Received: from [98.139.91.69] by nm12.bullet.mail.sp2.yahoo.com with NNFMP; 21 Jan 2011 17:15:16 -0000 Received: from [98.139.91.9] by tm9.bullet.mail.sp2.yahoo.com with NNFMP; 21 Jan 2011 17:15:16 -0000 Received: from [127.0.0.1] by omp1009.mail.sp2.yahoo.com with NNFMP; 21 Jan 2011 17:15:16 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 216422.82467.bm@omp1009.mail.sp2.yahoo.com Received: (qmail 56372 invoked by uid 60001); 21 Jan 2011 17:15:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1295630115; bh=U3RXea4q2M9jE+ynU96kZybIjJP361hAdQ4Q54QVBU8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=BUykFbPZ9OxZ1vm1QL24EZc8C5AcleZjmCv3nBnDBFEaI6yuxonjbb6rI+K3UnaE2R0Ei0yWHF0fLDaA39/LzMgjdfPvbyh6BBErfdPjEAnXK3BzOD99SMV086zWmNoWrlsG51LJ+esE0jRbazUeoZsG96HluiqasG2ArTugZQs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=FiWJ2+jF2Obll3GmJeaBCl1ZOBkIAQWclV76+uMt3BU3PEnbSgEeIub77PqH21TL+qXdMyLnrDz16aQ4rNexqT6zVDM0rMpEyaKSx9UvWBoLMSPKt5J4Xfj+UuJGyXfGCCNrOsifbs0F8mAM1tgFm+VZ4gVKmpoRnylXj3RMspg=; Message-ID: <779339.56356.qm@web110114.mail.gq1.yahoo.com> X-YMail-OSG: Tj25N1gVM1ml5XCEqarquBkxSXlbZvZhBhtwW82ixRiaIWK _BuPJ_Mcgk0OQ3n70qLtBihl77COsIFsSJNGbhSKmFW5nS2bKi2nKwsRwK0V UDYojaPUu3TL5.2JPfn5OgfUZS1AMh5fFc9f.zTFVMOUDmnx1nodIz_qsg.k aBEB3q2TNkEIilTuV2e_p5Oth1Mjf_dBK6YO0jh3Gb4WLGsxQVd4LQuv1ALr S6xnvTdg.M7k0JwphUVPIEkptppVA_f44rS.xwkHOd4xG07KZdY_U0Bnt3aU lyLWuhPIwSffZHufWS4a01T9nlV7kt7K1xIacVJ.exxRlfudvMQ-- Received: from [98.192.248.217] by web110114.mail.gq1.yahoo.com via HTTP; Fri, 21 Jan 2011 09:15:15 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.107.285259 Date: Fri, 21 Jan 2011 09:15:15 -0800 (PST) From: Super Biscuit To: freebsd-ppc@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 21 Jan 2011 17:27:27 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: gcc, llvm-gcc, comparison of linux build X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2011 17:15:16 -0000 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 wrote: From: Justin Hibbits Subject: Re: Proof # 2 for agp andwhy is gcc still at 3.4 for normal users? To: "Super Biscuit" 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