Subject: port-i386/10348: a.out Emulation: Resolving does not work
To: gnats-bugs <>
From: Andreas Horneffer <>
List: netbsd-bugs
Date: 06/12/2000 13:55:14
>Number:         10348
>Category:       port-i386
>Synopsis:       IP-address resolving of a.out-binaries fails with a.out-e=
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 12 13:56:00 PDT 2000
>Originator:     Andreas Horneffer
>Release:        Sat May 27, 2000
AMD-K6, NetBSD-i386 1.4Z; 1.4.2 libraries in /emul/aout/u=
IP-Address resolving of a.out-binaries fails with the
a.out-emulation of NetBSD 1.4Z. I tested it with the a.out-versions of dn=
ircII and socket, but I believe all a.out-binaries are affected.

Just try to use a hostname in an a.out binary with an
ELF-Kernel. E.g.:

 cypresse% file `which socket`
 /usr/pkg/bin/socket: NetBSD/i386 demand paged dynamically linked executa=
 cypresse% socket quote
 socket: unknown host

Meanwhile on the Network:

 tcpdump: listening on ne0
 23:46:34.870660 >  25485+ A? i512.ha= (32)
 23:46:34.874729 >  25485* 1/2/2 A 17= (152) (DF)

( =3D cypresse; =3D Nameserver)

Use IP-address instead of hostname. E.g.:

 cypresse% socket quote
 Ei t=E4st=E4 pidot parane, ellei vierahat v=E4hene.

Gru=DF, Andreas

Andreas Horneffer (No Mails >16KB!)

 >System: NetBSD cypresse 1.4Z NetBSD 1.4Z (GENERIC) #12: Sat May 27 16:55=
 :41 PDT 2000 root@swinger:/u1/snapshots/src/sys/arch/i386/compile/GENERIC=