Date: Tue, 12 Apr 2016 07:58:01 +0200 From: Joerg Wunsch <j@uriah.heep.sax.de> To: freebsd-sparc64@freebsd.org Cc: Shigeharu TAKENO <shige@iee.niit.ac.jp>, gabor@FreeBSD.org, Marius Strobl <marius@freebsd.org> Subject: Re: /usr/bin/sort may be incorrect Message-ID: <20160412055801.GV10729@uriah.heep.sax.de> In-Reply-To: <20160411215734.GA2101@alchemy.franken.de> References: <201603250229.u2P2TVLp003567@pc98tak.iee.niit.ac.jp> <201603310446.u2V4kLGM003303@pc98tak.iee.niit.ac.jp> <20160331072303.GP53011@uriah.heep.sax.de> <201603311122.u2VBMPam007017@pc98tak.iee.niit.ac.jp> <20160411215734.GA2101@alchemy.franken.de>
next in thread | previous in thread | raw e-mail | index | archive | help
As Marius Strobl wrote: > AFAICT is sort(1) relying on undefined behavior. That matches my observation: on FreeBSD 9 (which is still installed on my sparc64 box), I could successfully build zsh without problems. Since the major difference from there to current FreeBSD/sparc64 is the change of the compiler (GCC vs. Clang), this is also a strong indication of undefined behaviour effects (I think). Alas, my attempt to install FreeBSD 10.2 on a second disk on that machine ended up with a kernel that stalled at mounting the root FS, that's why I didn't investigate further by that time. -- cheers, Joerg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160412055801.GV10729>