neuer kompiler in 5.3 (was: FreeBSD ueber Nacht unbrauchbar)

From: Heino Tiedemann <rotkaps_spam_trap(at)gmx.de>
Date: Tue, 16 Nov 2004 23:55:32 +0100

Oliver Lehmann <lehmann(at)ans-netz.de> wrote:

> Heino Tiedemann wrote:
>
>> Is schade, das ein System über nacht so unbrauchbar wird - und
>> das bei einem RELEASE. Bin etwas überrascht - das das noch keinem
>> Aufgefallen ist. 5.3 benutzen ja schon einige Menschen vor dem
>> RELEASE-Date.
>>
>> Vielleicht gehe ich zurueck auf 5.2...
>>
>
> hast du denn mal /usr/src/UPDATING _vor_ dem update von 5.2 auf 5.3
> gelesen? Besonders diesen part:
>
> 20040728:
> System compiler has been upgraded to GCC 3.4.2-pre. As with any
> major compiler upgrade, there are several issues to be aware of.
> GCC 3.4.x has broken C++ ABI compatibility with previous releases
> yet again and users will have to rebuild all their C++ programs
> with the new compiler.

Dazu habe ich mal eine Frage:

Da steht weiterhin:

        With the upgrade of the system compiler, the kernel has been upgraded
        to match the new system compiler. This makes it impossible to build
        a new kernel with the old compiler. Upgrade your system via
        make buildworld and make kernel (see below) to fix this problem.

Also, es ist unmoeglich, einen neuen Kernel (5.3) mit einem alten
Kompiler(<5.3) zu bauen? Also - hm - ich habe es leider so gemacht.

So bin ich vorgegangen:

make buildworld
make buildkernel
make installkernel
reboot

boot -s
fsck -p
mount -u /
mount -a -t ufs
swapon -a

mergemaster -p
make installworld
mergemaster
reboot

Aber genau das soll ja angeblich nicht moeglich sein. Oder hab ich da
jetzt was falsch verstenden?

,----[ uname -sr ]
| FreeBSD 5.3-RELEASE
`----

,----[ gcc --version ]
| gcc (GCC) 3.4.2 [FreeBSD] 20040728
| Copyright (C) 2004 Free Software Foundation, Inc.
| This is free software; see the source for copying conditions. There is NO
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
`----

Heino

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 16 Nov 2004 - 23:57:10 CET

search this site