On Mon, Aug 25, 2014 at 10:52:47AM +0200, Michael Holzheu wrote: > On Sun, 24 Aug 2014 20:43:30 +0200 > Bastian Blank <wa...@debian.org> wrote: > > And -fno-delete-null-pointer-checks seems to be the correct option. > From the gcc man page: > -fdelete-null-pointer-checks > In some environments, this assumption is not true, and programs can safely > dereference null > pointers. Use -fno-delete-null-pointer-checks to disable this optimization > for programs which > depend on that behavior. > So we should add this Option to CFLAGS in zipl/boot/Makefile?
Yes. > Why we have not seen this problem under RHEL and SLES up to now? Can you show a RHEL or SLES that uses gcc 4.9? Or any Redhat/Fedora/SUSE with support for s390* that uses it? RHEL 7 uses 4.8 (see https://git.centos.org/summary/?r=rpms/gcc.git). Maybe you should ask the gcc people why they enable this check on the freestanding implementation (-ffreestanding). Bastian -- Without freedom of choice there is no creativity. -- Kirk, "The return of the Archons", stardate 3157.4 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org