world's toolchain & CPUTYPE



Hi all,

Yesterday I hit the following problem:

- was given an Athlon XP machine with a fresh CURRENT built with
CPUTYPE=athlon-xp;

- used it to build a fresh RELENG_6 world with no customizations
at all -- __MAKE_CONF=/dev/null;

- tried to install the world over NFS on an old Pentium machine
with some 5.3-BETA;

- "make installkernel" failed instantly because install(1) died on
signal 4, illegal instruction.

Quick investigation showed that the world was built using generic
i386 code, as expected, but its toolchain was linked against the
builder system libs contaminated by Athlon-specific code. It was
sufficient to rebuild and reinstall all libs on the builder machine
with no particular CPUTYPE set and then to rebuild the world's
toolchain again to make the latter run well on the Pentium.

I used to be under impression that a world's toolchain should be
fairly independent from the builder system. However, this case
showed that it wasn't quite true. Is it a known issue, or am I
missing a key point? Thanks!

--
Yar
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Processsor question : Brisbane Update
    ... Any opinions re AMD's Athlon 64 x 2? ... any data and writeups on their latest triple and quad-core chips. ... and when I get a BIOS upgrade for the INXPense machine that I built ...
    (uk.comp.homebuilt)
  • Re: caffeine
    ... Only for you...the rest of us have built up a tolerance. ... I was fresh ... out of home roasted today (i get my greens from Sweet Maria's) and had ...
    (alt.coffee)
  • Re: Real post- Dudamel/SBO in NYC
    ... Here's a bunch of fresh ... young faces getting built up as the new big thing. ...
    (rec.music.classical.recordings)
  • Show of hands please 64 bit
    ... I'm getting a feeling I should be looking towards my next ... I have built a 64 bit Athlon box for a workmate simply because the ...
    (uk.comp.homebuilt)
  • Re: SBS and CAL
    ... Guys what i meant by 10 hidden was, 5 built in and 5 u get extra. ... fresh build of SBS with 5 default licenses, you'll be able to get 10 ...
    (microsoft.public.windows.server.sbs)