[Arm-dev] aarch64 internal compiler error

Thu May 19 21:55:03 UTC 2016
Mark Verlinde <mark at havak.nl>

hello,

To spin up a nspawn container with a vanilla samba as an ad-dc controller I had a go on compiling samba latest stable. Building a vanilla samba 4.4.3  for aarch64  does not succeed due to an internal compiler error.

I know I ‘am swimming on my own here, still severe enough to share it on this list.
Especially as it builds just fine on X86_64 and armv7hfp  – and-
succeeded to build it against Centos 7 with ggc 5.1.1 form fedora  repository’s. 

Building on an Odriod C2 running on a “debian” 3.14.67 kernel

(part of) Build log using standard gcc 4.8.5:
../source3/smbd/notify.c: In function 'change_notify_create':
../source3/smbd/notify.c:297:1: internal compiler error: in fixup_reorder_chain, at cfgrtl.c:3336

Simplest way to reproduce is building samba 4.3.0-0.1.rc4 from fedora sources: 
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/fedora/linux/releases/23/Everything/source/SRPMS/s/samba-4.3.0-0.1.rc4.fc23.src.rpm