Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Completed first 32-bit migration to gcc-5.4.0-r3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9601
Location: almost Mile High in the USA

PostPosted: Sat Oct 07, 2017 6:37 pm    Post subject: Completed first 32-bit migration to gcc-5.4.0-r3 Reply with quote

I finally completed my first migration to gcc-5.4.0-r3 as the system compiler. The system is a single core 1.6GHz HT Atom 32-bit with 2GB RAM. Took 4 days or so of compiling, debug and sleep, and a lot of the problems turned out to be distcc problems.

4 days, almost about as long as it'd take to emerge -e world without dealing with distcc. I don't know if it would have ended up needing as much handholding as the migration upgrade path took.

Have most people already done the migration? Perhaps having the mixed 32/64 bit environment is what's killing me.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54028
Location: 56N 3W

PostPosted: Sat Oct 07, 2017 6:45 pm    Post subject: Reply with quote

eccerr0r,

I did my Acer One Atom N270 in July and switched it to my best guess at the /17.0/ profile just recently.
I didn't have any trouble with distcc either.

Thats my last 32 bit system, unless you count Raspberry Pis.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9601
Location: almost Mile High in the USA

PostPosted: Sat Oct 07, 2017 7:02 pm    Post subject: Reply with quote

I would have expected things to go fairly cleanly but no... things had to blow up on me.

I still don't get why my distcc is so flaky and keep getting invalid object files from my cross-compile enabled 64-bit machines (as they're the newer Core machines, they are by far the faster machines). Fortunately I have one VM 32 bit setup on one of the 64 bit machines using KVM so that was the only 32 bit helper I could count on.

I wonder if I need to resort to a 32-bit chroot or container running distcc, but those too will need to be updated, so not much advantage there.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54028
Location: 56N 3W

PostPosted: Sat Oct 07, 2017 7:24 pm    Post subject: Reply with quote

eccerr0r,

My helper is a 64 bit clean (no-multilib) amd64 system with a i686-pc-linux-gnu cross toolchain.
I don't pass -m32 to the native toolchain.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9601
Location: almost Mile High in the USA

PostPosted: Sat Oct 07, 2017 8:55 pm    Post subject: Reply with quote

Perhaps that may be the reason, my 64-bit boxes are multilib but they should have 64-bit compiled cross compile toolkit for 32-bit, so theoretically, yes I should have two ways to generate 32-bit binaries. And I would hope the cross compilers can't generate 64-bit binaries...

But distcc shouldn't be passing -m32 as it's coming from a 32 bit machine. Also, would -m32 binaries should be compatible with 32-bit machines?

Perhaps forcing extra -m32 -arch=i686 would coax it to do the right thing, even if the wrong compiler was inexplicably selected?

Back the the original topic, have other people found the 5.4.0 transition to be fairly clean regardless of architecture, or riddled with (distcc-rootcaused) problems?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54028
Location: 56N 3W

PostPosted: Sat Oct 07, 2017 9:12 pm    Post subject: Reply with quote

eccerr0r,

Its been clean here for i686, amd64 and arm64, with the amd64 helping out both the i686 and arm64, using cross distcc.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum