cvsup broken on amd64?

From: Oliver Lehmann <lehmann_at_ans-netz.de>
Date: Thu, 08 Sep 2011 22:13:56 +0200
Hi,

I have an Atom 330 with 9.0-BETA2/amd64 installed.

I did a pkg_add -r cvsup-without-gui at first after installation.
Using cvsup, resulted in a core dump (illegal instruction).

I then removed all ports, and installed cvsup-without-gui from source.
Started cvsup... core dump again.

I then got the cvsup binary from a FreeBSD 8 i386 system, installed
compat8x and also copied the missing libutil.so.8 from FreeBSD/i386
and cvsuped the source (8.2-STABLE i386 cvsup worked).

Then I rebuilt world, kernel (removed all debugging options from GENERIC).

Then I removed all ports once more and reinstalled cvsup-without-gui  
from ports once more.

And now again...

nudel# cvsup -g /usr/share/examples/cvsup/9-supfile
Connected to cvsup.de.FreeBSD.org
Updating collection src-all/cvs
  Edit src/crypto/openssl/ssl/s3_lib.c
Illegal instruction (core dumped)
nudel# gdb /usr/local/bin/cvsup cvsup.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging  
symbols found)...
Core was generated by `cvsup'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.6
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols  
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000800e12359 in gmtime_r () from /lib/libc.so.7
(gdb) bt
#0  0x0000000800e12359 in gmtime_r () from /lib/libc.so.7
#1  0x0000000800e11dde in gmtime_r () from /lib/libc.so.7
#2  0x0000000800e12ab4 in gmtime_r () from /lib/libc.so.7
#3  0x0000000800e12cc8 in gmtime_r () from /lib/libc.so.7
#4  0x0000000800e30928 in sysctl () from /lib/libc.so.7
#5  0x0000000800e11a9f in timegm () from /lib/libc.so.7
#6  0x0000000800e13346 in gmtime () from /lib/libc.so.7
#7  0x00000000004a63aa in calloc ()
#8  0x000000000043ae3b in ?? ()
#9  0x0000000000448e1e in ?? ()
#10 0x0000000000409e42 in ?? ()
#11 0x0000000000419118 in ?? ()
#12 0x0000000000417c32 in ?? ()
#13 0x0000000000415213 in ?? ()
#14 0x0000000000414cee in ?? ()
#15 0x000000000049f8f0 in calloc ()
#16 0x000000000048f9ad in fnmatch ()
#17 0x00007fffffffc498 in ?? ()
#18 0x00007fffffffda00 in ?? ()
#19 0x00007fffffffdaf8 in ?? ()
#20 0x00007fffffffdad8 in ?? ()
#21 0x0000000000000000 in ?? ()
#22 0x0000000000000000 in ?? ()
#23 0x00001fa00000037f in ?? ()
#24 0x0000000000000000 in ?? ()
#25 0x000000000074c6c0 in ?? ()
#26 0x000000000074c6c0 in ?? ()
#27 0x0000000000494cf9 in fnmatch ()
Previous frame inner to this frame (corrupt stack?)
(gdb)


> cat /etc/make.conf
X_WINDOW_SYSTEM=xorg
WRKDIRPREFIX=/usr/obj/${MACHINE_ARCH}
>
> head -7 /usr/share/examples/cvsup/9-supfile
*default host=cvsup.de.FreeBSD.org
*default base=/mnt/files/FreeBSD/9.0
*default prefix=/mnt/files/FreeBSD/9.0
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
src-all
>
Received on Thu Sep 08 2011 - 18:13:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:17 UTC