login
Header Space

 
 

NetBSD/vax is now ELF; New snapshot available

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Cc: <announce@...>, <current-users@...>
Date: Sunday, March 31, 2002 - 10:56 pm

NetBSD/vax switched to using ELF as its object file format this
past weekend.  For general information about why NetBSD is
switching to ELF, please read:

http://www.netbsd.org/Documentation/elf.html

An ELF snapshot (which at the moment doesn't include the X sets) is
available in:

ftp://ftp.netbsd.org/pub/NetBSD/arch/vax/snapshot/20020331-1.5ZC-ELF/

The upgrade instructions to ELF for mac68k can be used for VAX as
well (for the most part) though it is highly recommended you let
sysinst do the hard work:

ftp://ftp.netbsd.org/pub/NetBSD/arch/mac68k/elf-upgrade/README.ELF-UPGRADE

NetBSD/vax 1.5.2 and later bootblocks support loading an ELF
version of /boot.  /boot can load either a.out or ELF kernels.

Now that NetBSD/vax is ELF, a number of issues/problems have been
addressed:

1)  By default, all objects are PIC.  Indeed, static and shared libraries
     are generated from the same objects so builds take less time.  The
     linker is responsible for doing the magic to make dynamic references.
     A side effect of being PIC, an ELF object have a smaller code size
     than its corresponding a.out object.

2)  Since this is a new ABI, the size of a jmp_buf could be extended so
     that all callee-saved registers are saved in setjmp/_setjmp/sigsetjmp
     so that GNU pth works.

3)  RRS text relocation warnings that a.out linker emitted are a thing
     of the past.

4)  NetBSD/vax snapshots (modulo X) can be entirely cross-built (hopefully
     on a fast machine) without needing to be root.  The process is entirely
     unprivileged.  An example of the commands (with a 600MB MFS mounted
     on /tmp) needed to do this are:

         cd <top-of-source-tree>
         mkdir -p /tmp/vax/obj /tmp/vax/tools
         sh build.sh -m vax -U -r -T /tmp/vax/tools -D /tmp/vax/root \
             -R /tmp/vax/release -O /tmp/vax/obj

5)  Support for making installable ISO images has been added.  After the
     above commands do:
         cd etc
         /tmp/vax/tools/bin/nbmake-vax iso-image


-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
NetBSD Security Advisory 2007-005: IPv6 Type 0 Routing Header, NetBSD Security-Officer, (Thu Sep 13, 5:56 pm)
NetBSD developer's summit @ NYCBSDCon 2008, Jan Schaumann, (Sat Jul 12, 3:40 pm)
NetBSD Security Advisory 2008-001: file(1) Integer overflow, NetBSD Security-Officer, (Thu Feb 28, 7:36 pm)
New "regional" mailing lists, Luke Mewburn, (Tue May 20, 11:07 pm)
Regional-pt mailing list is now available, Christos Zoulas, (Sun Jan 25, 3:02 pm)
The NetBSD project celebrates its fifteenth anniversary, Alistair Crooks, (Thu Mar 20, 2:57 am)
New NetBSD Developer, Simas Mockevicius, (Wed Nov 3, 1:00 pm)
NetBSD Security Advisory 2004-010: Insufficient argument val..., NetBSD Security-Officer, (Fri Dec 17, 1:29 am)
NetBSD Security Advisory 2008-011: ICMPv6 MLD query, NetBSD Security-Officer, (Thu Sep 4, 5:52 pm)
cvsweb maintenance, SODA Noriyuki, (Mon May 2, 7:25 am)
Thank you for your donations!, Christos Zoulas, (Tue Jul 19, 9:05 am)
Manuel Bouyer interviewed on NetBSD/xen integration, Emmanuel Dreyfus, (Sun Feb 19, 4:24 am)
NetBSD Security Advisory 2006-004: Denial of services issues..., NetBSD Security-Officer, (Wed Mar 29, 9:30 pm)
NetBSD Security Advisory 2006-012: SIOCGIFALIAS ioctl may ca..., NetBSD Security-Officer, (Wed Apr 12, 10:34 pm)
NetBSD/vax is now ELF; New snapshot available, Matt Thomas, (Sun Mar 31, 10:56 pm)
NetBSD Security Advisory 2002-006: buffer overrun in libc DN..., NetBSD Security Officer, (Thu Jun 27, 1:14 pm)
NetBSD Security Advisory 2006-017: Sendmail malformed multip..., NetBSD Security-Officer, (Wed Jun 14, 5:44 pm)
NetBSD Security Advisory 2006-019: Malicious PPP options can..., NetBSD Security-Officer, (Wed Aug 23, 5:32 pm)
Mailinglist Archives not updated, Jan Schaumann, (Mon Jan 6, 2:57 pm)
speck-geostationary