Re: make aout-to-elf on -current?
I had to try this due to an unfortunate 'accident', and no, it currently does not work. The aout assembler complains about a '.section' tag in the assembly output of contrib/gcc/cp/tinfo2.cc. You have to elfify your system with a non-egcs compiler before you can move onto using egcs to make the world. Timo On Fri, Apr 16, 1999 at 12:54:32AM -0600, Warner Losh wrote: Does make aout-to-elf still purport to work from a 2.2.8R system to a recent (like today's) current? Warner To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: make aout-to-elf on -current?
On 1999-04-16 00:54:32 -0600, Warner Losh wrote: Does make aout-to-elf still purport to work from a 2.2.8R system to a recent (like today's) current? I updated my laptop 4 weeks ago from 2.2.6R to 4.0-current. There where only minor problems, see PR bin/10784 and bin/10785 -- Wolfram Schneider wo...@freebsd.org http://wolfram.schneider.org To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: make aout-to-elf on -current?
In message 19990416083544.a10...@timog.prestel.co.uk Timo Geusch writes: : You have to elfify your system with a non-egcs compiler before you can move : onto using egcs to make the world. Yes. I discovered this the hard way... I did an upgrade to 3.1-stable with a make aout-to-elf and then to -current from there. Three make worlds, but it worked... Warner To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: make aout-to-elf on -current?
On Friday, 16 April 1999 at 0:54:32 -0600, Warner Losh wrote: Does make aout-to-elf still purport to work from a 2.2.8R system to a recent (like today's) current? I spent a week trying to upgrade from 3.0-CURRENT of about August last year to 4.0-CURRENT of the beginning of April. I finally gave up going the direct way and upgraded first to 3.1-STABLE and from there to 4.0-CURRENT. I have 22 MB of make output to show for it. Most of the problems appear to have to do with the change in compiler. Greg -- See complete headers for address, home page and phone numbers finger g...@lemis.com for PGP public key To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: make aout-to-elf on -current?
In message 19990416164237.n27...@lemis.com Greg Lehey writes: : I spent a week trying to upgrade from 3.0-CURRENT of about August last : year to 4.0-CURRENT of the beginning of April. I finally gave up : going the direct way and upgraded first to 3.1-STABLE and from there : to 4.0-CURRENT. I have 22 MB of make output to show for it. Most of : the problems appear to have to do with the change in compiler. After reading the UPDATING file, I realized just how silly a question this was :-). a.out make world is broken in -current with egcs. So, I did a cvs co -rRELENG_3 and that seems to be getting much farther than the -current one did. Warner To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: make aout-to-elf on -current?
On Fri, Apr 16, 1999 at 04:42:37PM +0930, Greg Lehey wrote: On Friday, 16 April 1999 at 0:54:32 -0600, Warner Losh wrote: Does make aout-to-elf still purport to work from a 2.2.8R system to a recent (like today's) current? I spent a week trying to upgrade from 3.0-CURRENT of about August last year to 4.0-CURRENT of the beginning of April. I finally gave up going the direct way and upgraded first to 3.1-STABLE and from there to 4.0-CURRENT. I have 22 MB of make output to show for it. Most of the problems appear to have to do with the change in compiler. Greg -- See complete headers for address, home page and phone numbers finger g...@lemis.com for PGP public key To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message -- -- David(obr...@nuxi.com -or- obr...@freebsd.org) To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: make aout-to-elf on -current?
Does make aout-to-elf still purport to work from a 2.2.8R system to a recent (like today's) current? After reading the UPDATING file, I realized just how silly a question this was :-). a.out make world is broken in -current with egcs. Please excuse my ignorance, but why does make aout-to-elf require the -CURRENT compiler to produce a.out binaries? make aout-to-elf moves a working set of a.out libraries to ---/lib/aout, so doesn't that cover the needs? -- -- David(obr...@nuxi.com -or- obr...@freebsd.org) To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: make aout-to-elf on -current?
In message 19990416202430.c70...@nuxi.com David O'Brien writes: : Please excuse my ignorance, but why does make aout-to-elf require the : -CURRENT compiler to produce a.out binaries? : : make aout-to-elf moves a working set of a.out libraries to ---/lib/aout, : so doesn't that cover the needs? No. make aout-to-elf builds a.out versions of everything first, then uses them to build the elf versions. Warner To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: make aout-to-elf on -current?
Warner Losh wrote: In message 19990416202430.c70...@nuxi.com David O'Brien writes: : Please excuse my ignorance, but why does make aout-to-elf require the : -CURRENT compiler to produce a.out binaries? : : make aout-to-elf moves a working set of a.out libraries to ---/lib/aout, : so doesn't that cover the needs? No. make aout-to-elf builds a.out versions of everything first, then uses them to build the elf versions. Correct. Older compilers would not be able to generate elf targets, so we have to update the compiler first. The system actually makes a complete world first, because of arcane reasons better left unexplained, lest one would gradually become insane. For the details, man cthulhu(9). -- Daniel C. Sobral(8-DCS) d...@newsguy.com d...@freebsd.org Well, Windows works, using a loose definition of 'works'... To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: make aout-to-elf on -current?
No. make aout-to-elf builds a.out versions of everything first, then uses them to build the elf versions. Correct. Older compilers would not be able to generate elf targets, so we have to update the compiler first. Right. But the 2.x system should build the compiler (and bootstrap libs) statically and install them in /usr/obj//tmp. Then the make world should stop dead in its tracks and use the compiler in /usr/obj//tmp [which itself is an a.out binary] to start a new make world where the output are ELF images. I've glossed over a little bit here -- I think maybe we need a /usr/src/Makefile.aout-to-elf and the upgrade path is now: make -f Makefile.aout-to-elf {,buildworld,installworld} The system actually makes a complete world first, because of arcane reasons better left unexplained, True.. and I bumped into the same mess in the compiler upgrade lest one would gradually become insane. As I did in the EGCS bootstrap. ;-) -- -- David(obr...@nuxi.com -or- obr...@freebsd.org) To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message