problems with cvsup on FreeBSD 9 snapshot 201101

Holger Kipp Holger.Kipp at
Wed Jun 15 15:11:40 UTC 2011

Ah, ok.

Do we have a compiler switch to force stack alignment to 16-Byte-boundaries? Otherwise I am really concerned that we might have similar wrong pieces of code lurking unnoticed in other binaries as well :-/

My cvsup binary is:

# file /usr/local/bin/cvsup
/usr/local/bin/cvsup: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 9.0 (900029), stripped

Best regards,

From: owner-freebsd-current at [owner-freebsd-current at] on behalf of Eric McCorkle [eric at]
Sent: 15 June 2011 16:24
To: freebsd-current at
Subject: Re: problems with cvsup on FreeBSD 9 snapshot 201101

On 6/15/11 8:23 AM, Holger Kipp wrote:
> Dear all,
> I had installed FreeBSD 9 amd64 from snapshot (ISO-image) located here:
> Today I wanted to cvsup to a later date to upgrade to ZFS v28
> and compiled port /usr/ports/net/cvsup-without-gui without problems.
> Starting freshly compiled cvsup then gives me
> "Illegal Instruction"
> This error seems to be identical to

I've gotten the same problem, and managed to diagnose it.  The problem
actually isn't an illegal instruction, but a stack misalignment.  If you
load it in gdb, it will die with SIGSEGV somewhere in, on a
callq instruction.  This is because callq needs the stack to be 16-byte
aligned, and it's not for some reason.

As for why it's not aligned, I don't know.

Eric McCorkle
Computer Science Ph.D Student,
University of Massachusetts
Research Intern, IBM Research
freebsd-current at mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscribe at"

Holger Kipp
Senior Consultant

Tel. : +49 30 436 58 114
Fax. : +49 30 436 58 214
Mobil: +49 178 36 58 114
Email: holger.kipp at

alogis AG
Alt-Moabit 90b
D-10559 Berlin

web :


alogis AG
Sitz/Registergericht: Berlin/AG Charlottenburg, HRB 71484
Vorstand: Arne Friedrichs, Joern Samuelson
Aufsichtsratsvorsitzender: Reinhard Mielke

More information about the freebsd-current mailing list