Get rid of tigerports/leopardports. It's not part of the original how to build wiki. That's all I can think of. I never knew they existed or used them to build anything.
Cheers
Cheers
Hmmmm.... Is this a make issue? TryCurrently stuck on building a dependency for gcc48 'ccloog'. I've attached the build log. The steps I've taken so far are above in the first post.
Actually gcc7 has linking issues with TFF, and also Arctic Fox. 6.5 is the max that will build AF properly. I assume it'd be the same for TFF.Also, gcc7 or gcc49 *probably* works fine for TFF
Doesn’t work on Tiger, I don’t know if you can build TFF from Leopard.Thanks for all the insight and suggestions so far. Starting with a fresh Macports setup without TigerPorts and will see how it goes. @alex_free would your work here on https://forums.macrumors.com/thread...leopard-installs-in-minutes-not-days.2265618/ be useful for getting bootstrapped faster?
libgcc7 builds fine on standard MacPorts, just not gcc7 itself AFAIK.Making progress. No TigerPorts. It has been building libgcc7 for the past 25 hours.
In https://github.com/classilla/tenfourfox/wiki/HowToBuildFPR#prerequisites it says to install gcc48. That pulls libgcc6 and libgcc7 in as dependencies.libgcc7 builds fine on standard MacPorts, just not gcc7 itself AFAIK.
I built gcc7 from standard MacPorts on my G5, the exact compiler version is 7.5.0. There may have been some small hiccup in build process but nothing that required actual patching and/or debugging. Possibly had to deactivate some port or something.libgcc7 builds fine on standard MacPorts, just not gcc7 itself AFAIK.
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc6/libgcc6/work/.tmp/ccRorGqP.s:10659:Bignum number illeg
al. Absolute 0 assumed.
:info:build make[3]: *** [data-streamer.o] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc6/libgcc6/work/gcc-6.5.0/gcc/../move-if-change t
mp-automata.c insn-automata.c
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build echo timestamp > s-automata
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build rm gcc.pod
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc6/libgcc6/work/build/gcc'
:info:build make[2]: *** [all-stage1-gcc] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc6/libgcc6/work/build'
:info:build make[1]: *** [stage1-bubble] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc6/libgcc6/work/build'
:info:build make: *** [bootstrap-lean] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc6/libgcc6/work/build'
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc6/libgcc6/work/build" && /usr/bin/m
ake -j2 -w bootstrap-lean
:info:build Exit code: 2
:error:build Failed to build libgcc6: command execution failed
:debug:build Error code: CHILDSTATUS 2972 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec build"
:debug:build (procedure "portbuild::build_main" line 8)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc6/libgcc6/main.log for details.
I’m pretty sure last time I compiled it for SM64EXLC it took even longer then 24 hours. I compiled MacPorts from source, installed LeopordPorts, and it eventually finished. This was not that long ago that I did this on the Mac mini G4. Are you installing with the -d debug flag? Not that it would fix an issue, but it provides constant output.Still struggling with libgcc7. It was going for two days but completely stopped logging to main.log for over 24 hours. I didn't know if it was stuck in some infinite loop or what. I've started the process over and am keeping a closer watch on the log output.
Is there anything I should know to make compiling libgcc7 easier (besides throwing more processors at it)?
Honestly very strange, I had almost no issues on Leopard but I realize now that your on Tiger which is even less supported nowadays...Well...I ran it again and now it's gotten further. I guess this whole process is just fragile and prone to weird sporadic errors. 🤷♂️
It's like a Gentoo install. You have to do it once for the experience, then never again.but I realize now that your on Tiger which is even less supported nowadays...
Good to know.Fwiw, I have seen macports gcc builds fail on ppc when disk space is low - maybe 6GB or less. It seems to need a lot of elbow room during the build.
powermac-g4:~ chris$ df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/disk0s12 80G 26G 54G 32% /
sudo port install libidl autoconf213 gmake python27 gcc48 freetype
I figured out how to do this “the proper way” when creatingProgress!!!
Code:sudo port install libidl autoconf213 gmake python27 gcc48 freetype
completed with no errors after nearly four days of compiling. Is there any way I can snapshot this macports environment for others to use?
How portable is this between G4 and G5 processors and multiple G4 versions?I would just archive your whole /opt directory for back up purposes. After that I suppose you could also share it. In theory i think the only thing someone else would have do is add /opt/local/bin and /opt/local/sbin to their path for it to work.
Cheers
I've downloaded gdb from sourceforge but I don't see a precompiled binary. Do I need to build it first?Finally, you must install the TenFourFox debugger, because the gdb available with any PowerPC Xcode does not properly grok debugging symbols generated by later gcc versions. At least patchlevel 2 is required for the current version of 10.4Fx. Decompress and copy the binary to /usr/local/bin/gdb7 or wherever it is convenient. Although you can use it to replace your current gdb, it's probably safer that you do not. You can also get it from SourceForge.
Cool. I got hung up on the language. It say "you must install". Thanks for clarifying.You don't need it to build TFF. It's only useful for debugging purposes.
Cheers