broken bsd.rd build on amd64?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

broken bsd.rd build on amd64?

Amit Kulkarni-5
cc -static -L.  -nopie -o instbin instbin.o dd.lo mount_cd9660.lo md5.lo
df.lo mount.lo mount_ext2fs.lo arch.lo sync.lo restore.lo stty.lo ln.lo
disklabel.lo pax.lo ping.lo cat.lo ifconfig.lo ls.lo ping6.lo sysctl.lo
date.lo kbd.lo fdisk.lo mount_msdos.lo grep.lo umount.lo mount_udf.lo
fsck.lo more.lo signify.lo mknod.lo pwd_mkdb.lo installboot.lo route.lo
ftp.lo dhclient.lo reboot.lo mount_ffs.lo ed.lo cp.lo gzip.lo chmod.lo
chroot.lo fsck_ffs.lo init.lo newfs.lo rm.lo mt.lo mkdir.lo sed.lo ksh.lo
bioctl.lo encrypt.lo sleep.lo mv.lo dmesg.lo hostname.lo -L/usr/lib
-L/usr/src/distrib/special/libstubs -lstubs -lutil -locurses -lm -lc
ksh.lo: In function `getspec':
var.c:(.text+0x1da39): warning: warning: rand() may return deterministic
values, is that what you want?
/usr/src/distrib/special/libstubs/libstubs.a(res_send_async.o): In function
`udp_recv':
/usr/src/distrib/special/libstubs/../../../lib/libc/asr/res_send_async.c:459:
undefined reference to `_libc_recv'
collect2: ld returned 1 exit status
*** Error 1 in . (instbin.mk:22 'instbin')
*** Error 1 in /usr/src/distrib/amd64/ramdisk_cd
(../common/Makefile.inc:129 'instbin')


Thanks

Reply | Threaded
Open this post in threaded view
|

Re: broken bsd.rd build on amd64?

Theo de Raadt
> cc -static -L.  -nopie -o instbin instbin.o dd.lo mount_cd9660.lo md5.lo
> df.lo mount.lo mount_ext2fs.lo arch.lo sync.lo restore.lo stty.lo ln.lo
> disklabel.lo pax.lo ping.lo cat.lo ifconfig.lo ls.lo ping6.lo sysctl.lo
> date.lo kbd.lo fdisk.lo mount_msdos.lo grep.lo umount.lo mount_udf.lo
> fsck.lo more.lo signify.lo mknod.lo pwd_mkdb.lo installboot.lo route.lo
> ftp.lo dhclient.lo reboot.lo mount_ffs.lo ed.lo cp.lo gzip.lo chmod.lo
> chroot.lo fsck_ffs.lo init.lo newfs.lo rm.lo mt.lo mkdir.lo sed.lo ksh.lo
> bioctl.lo encrypt.lo sleep.lo mv.lo dmesg.lo hostname.lo -L/usr/lib
> -L/usr/src/distrib/special/libstubs -lstubs -lutil -locurses -lm -lc
> ksh.lo: In function `getspec':
> var.c:(.text+0x1da39): warning: warning: rand() may return deterministic
> values, is that what you want?
> /usr/src/distrib/special/libstubs/libstubs.a(res_send_async.o): In function
> `udp_recv':
> /usr/src/distrib/special/libstubs/../../../lib/libc/asr/res_send_async.c:459:
> undefined reference to `_libc_recv'
> collect2: ld returned 1 exit status
> *** Error 1 in . (instbin.mk:22 'instbin')
> *** Error 1 in /usr/src/distrib/amd64/ramdisk_cd
> (../common/Makefile.inc:129 'instbin')

I believe you compiled an intermediate tree.

Reply | Threaded
Open this post in threaded view
|

Re: broken bsd.rd build on amd64?

Amit Kulkarni-5
On Sun, Oct 4, 2015 at 2:26 PM, Theo de Raadt <[hidden email]>
wrote:

> > cc -static -L.  -nopie -o instbin instbin.o dd.lo mount_cd9660.lo md5.lo
> > df.lo mount.lo mount_ext2fs.lo arch.lo sync.lo restore.lo stty.lo ln.lo
> > disklabel.lo pax.lo ping.lo cat.lo ifconfig.lo ls.lo ping6.lo sysctl.lo
> > date.lo kbd.lo fdisk.lo mount_msdos.lo grep.lo umount.lo mount_udf.lo
> > fsck.lo more.lo signify.lo mknod.lo pwd_mkdb.lo installboot.lo route.lo
> > ftp.lo dhclient.lo reboot.lo mount_ffs.lo ed.lo cp.lo gzip.lo chmod.lo
> > chroot.lo fsck_ffs.lo init.lo newfs.lo rm.lo mt.lo mkdir.lo sed.lo ksh.lo
> > bioctl.lo encrypt.lo sleep.lo mv.lo dmesg.lo hostname.lo -L/usr/lib
> > -L/usr/src/distrib/special/libstubs -lstubs -lutil -locurses -lm -lc
> > ksh.lo: In function `getspec':
> > var.c:(.text+0x1da39): warning: warning: rand() may return deterministic
> > values, is that what you want?
> > /usr/src/distrib/special/libstubs/libstubs.a(res_send_async.o): In
> function
> > `udp_recv':
> >
> /usr/src/distrib/special/libstubs/../../../lib/libc/asr/res_send_async.c:459:
> > undefined reference to `_libc_recv'
> > collect2: ld returned 1 exit status
> > *** Error 1 in . (instbin.mk:22 'instbin')
> > *** Error 1 in /usr/src/distrib/amd64/ramdisk_cd
> > (../common/Makefile.inc:129 'instbin')
>
> I believe you compiled an intermediate tree.
>

Thanks, I will try again in a few hours. Sorry for the noise.