Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
@mrkapqa this one is related to gcc-4.7. More of a pain.


It can still be worked around with manual intervention it seems.

Within the compilation output, is there something in the form

Code:
In the directory XYZ:
the command "(usually very long ZXY)" failed with error X

or anything look-alike? If so, put it here as well.

I think you're nearly there, but if you want to give up and try wicknix's suggestion then it's okay.

Otherwise i'll give a few extra steps so the build can succeed. But honestly it's more involved.
 
Since you are using a 32bit rootfs, why not use xeno74's arcticfox build for Ubuntu 10 / debian 7?
You'll need to download and extract his libatomic.so. Follow these instructions on where to extract it to.
Then download the latest alpha release of AF. Extract and run. http://www.xenosoft.de/arcticfox-27.10.2a-ubuntu10.04-powerpc.tar.bz2

Cheers

well, thank you very much!
after changing ppa:sources from wheezy to lucid, i could install the required gcc-4.8 and g++-4.8 along with libatomic.so.1 or so,

hoever, as i tried similar thing previously, i am getting error here

./arcticfox
bash: ./arcticfox : no such file or directory

@XaPHER yes, thank you very much!
i'd like to continue,please.
but cannot see anymore output in the terminal from the log so i cannot see at the moment answer your question.
it must be somewhere in the firefox directory?
 
if you resume the build again with make -f client.mk build you should get that output again. Or maybe make's verbosity level needs to be raised.

edit:

changing

mk_add_options MOZ_MAKE_FLAGS="-s -j2"

to

mk_add_options MOZ_MAKE_FLAGS="-s -j2 VERBOSE=1"

should make things more verbose if needed.
 
Last edited:
I know my builds will run on debian 8 and higher, and Ubuntu 12 and higher on 32bit. I can't see why his 10.04 build won't run in debian 7 32bit. Hmmm.

Cheers
 
@wicknix What I can't understand is why your builds will run in Ubuntu 12.04, but not Debian 7. Debian 7 uses a slightly newer package base than Ubuntu 12.04.
 
Last edited:
I wonder if they would still work on 12.04 if they were built in Debian 7 instead?

If they did, this would eliminate the compatibility issue.
 
  • Like
Reactions: wicknix
I wonder if they would still work on 12.04 if they were built in Debian 7 instead?

If they did, this would eliminate the compatibility issue.
Correct me if I'm wrong, but I think Debian Wheezy has an older version of GCC than Ubuntu Precise.
 
I wonder if they would still work on 12.04 if they were built in Debian 7 instead?

If they did, this would eliminate the compatibility issue.
Correct me if I'm wrong, but I think Debian Wheezy has an older version of GCC than Ubuntu Precise. I've run Wicknix's browsers on Wheezy before, but I was using the latest release of GCC from the Sid repo's.
 
I'm not sure what wheezy comes with, but 12.04 came with 4.6.4. I needed to use a ppa to pull in 4.9.4 to build the browsers. However xeno74 built on 10.04 with 4.8 from a ppa (4.7 is the minimum required to build AF).
Stock 12.04 gcc output: gcc version 4.6.4 (Ubuntu/Linaro 4.6.4-1ubuntu1~12.04)
PPA 12.04 gcc output: gcc version 4.9.4 (Ubuntu 4.9.4-2ubuntu1~12.04)

Cheers
 
Last edited:
4.7 has atomics support, but doesn't ship the libatomic.so.1 library (the locking ones), so support out of the box is limited to the builtin ones. That's why xeno needed gcc-4.8. That said, gcc-4.7 might have been sufficient for x86 firefox, because which ones are inside libatomic and which are builtins is architecture-dependent. GNU still offers the locking ones for 4.7 from an extra "basic support" source file you have to compile outside of gcc. I didn't know complete support came with 4.8.

Then, xeno seems to instruct to install a libatomic.so on the hyperion forum (download provided) to run AF on 12.04, anyone on wheezy tried that?
 
./arcticfox
bash: ./arcticfox : no such file or directory
Dumb question, but i have to ask after rereading this thread (not on my phone screen while at work). No such file suggests you aren't in the correct directory to launch the binary.
Where did you extract arcticfox to? And are you sure you are running ./arcticfox from it's extracted directory?
Example: cd /Downloads/arcticfox and hit enter, then type ./arcticfox
Or open your GUI filemanager and double click on the arcticfox binary to launch it.

Cheers
 
Last edited:
  • Like
Reactions: sparty411
@XaPHER, yes, i tried xeno suggestion, both the one for 10.04 and the one for 12.04, (maybe another computer) if remember correctly, to no avail. after that, contacted him, got indirect reply on the board somewhere he stated debian 6 and 7 is not supported/compatible for this arcticfox.
maybe that changed in meantime.
i remember that i could run arcticfox on debian wheezy, but maybe that was an earlier edition.
sorry if my memory is playing tricks on me.
 
I'm out of ideas then. You could try building AF on debian 7 (use the included ppc64toppc32 mozconfig), or install my 12.04 remix as it includes arcticfox, SpiderWeb and interweb. As 12.04 is based on debian 7 nothing should break that's currently working for you.

Cheers
 
thanks Wicknix, i already tried your your distro, very nice, elegant and lightweight.
however, for some reason, also the mpv builds on ubuntu tend to fail, whereas on debian 7 i can get them to play videos (albeit not very stable on the powerpc platform) - don't like the idea that things don't function on debian so i plan to test some more with hopeful good luck.
 
4.7 has atomics support, but doesn't ship the libatomic.so.1 library (the locking ones), so support out of the box is limited to the builtin ones. That's why xeno needed gcc-4.8. That said, gcc-4.7 might have been sufficient for x86 firefox, because which ones are inside libatomic and which are builtins is architecture-dependent. GNU still offers the locking ones for 4.7 from an extra "basic support" source file you have to compile outside of gcc. I didn't know complete support came with 4.8.

Then, xeno seems to instruct to install a libatomic.so on the hyperion forum (download provided) to run AF on 12.04, anyone on wheezy tried that?

in theory i should have installed both 4.8 and libatomic.so.1 now on my pm7,3 with debian wheezy powerpc64 , so could be testing with 4.8 instead of 4.7? those packages from ppa however are meant for ubuntu?
 
@mrkapqa As long as the compiler is functional it will solve the atomic functions issue much more simply. Change the CC and CXX in the mozconfig to use gcc 4.8, do a rm -rf obj-ff-dbg configure and restart the build with make -f client.mk once more.
 
Hello, glad i found this thread again;
I'd be happy if we could resume this project as i am back on Debian 7 with a DualCore Powermac G5 (11,2), and Iceweasel 31 Browser.

On Intel x86 Debian 7 would let me use easily Firefox up to 68+, so i guess atleast Firefox 45,52 should be possible for PowerPC Debian 7?

Would be nice if there is still a sponsor around to guide through the project, thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.