On 5 May 2016 at 10:03, Daniel Letai wrote: > I could be wrong but it appears there are 2 distinct errors - in gcc6 itself > (specifically in header files) and in thunderbird (although this version > does compile with gcc 4.8.2) > > Background - rebuilding the thunderbird 38.7.0 rpm (from redhat) using gcc6 > and binutild 2.26 in RHEL 6.7 > > I'm wandering if this is a result of moving to std-14 as default and thus > not a bug, or if there is some issue with stdlib.h/cstdlib ? The heaer problem is a bug in the mozilla code, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70872