Errors building mozilla thunderbird 38.7.0 with gcc 6

Daniel Letai dani@letai.org.il
Thu May 5 09:16:00 GMT 2016


Thanks for the info, I'll review he porting page.

On 05/05/2016 12:11 PM, Jonathan Wakely wrote:
> On 5 May 2016 at 10:08, Jonathan Wakely wrote:
>> 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
> s/heaer/header/
>
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 and
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70872
> And the other problem is probably due to not finding the right
> headers, so is the same problem.
>
> If not, then the call to abs(sl) might need to be adjusted to pass an
> integer, not a double.
>
> Both of these issues are documented at https://gcc.gnu.org/gcc-6/porting_to.html



More information about the Gcc-help mailing list