GNU bug report logs - #26735
Unable to build emacs with Intel compilers

Previous Next

Package: emacs;

Reported by: "Stewart, Adam James" <ajstewart <at> anl.gov>

Date: Mon, 1 May 2017 15:46:01 UTC

Severity: important

Tags: moreinfo

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "Stewart, Adam James" <ajstewart <at> anl.gov>
Subject: bug#26735: closed (Re: Unable to build emacs with Intel compilers)
Date: Mon, 29 May 2017 20:51:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#26735: Unable to build emacs with Intel compilers

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 26735 <at> debbugs.gnu.org.

-- 
26735: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26735
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "Stewart, Adam James" <ajstewart <at> anl.gov>
Cc: 26735-done <at> debbugs.gnu.org
Subject: Re: Unable to build emacs with Intel compilers
Date: Mon, 29 May 2017 13:50:09 -0700
I managed to obtain a copy of icc (ICC) 17.0.2 20170213, the same version in the 
original bug report, and could not reproduce the bug when building Emacs 25.2 on 
Ubuntu 16.04.2 LTS x86-65.

icc's stddef.h defines max_align_t inside this nested #if:

#if __STDC_VERSION__ >= 201112L || __cplusplus >= 201103L
#if !defined(__CLANG_MAX_ALIGN_T_DEFINED) /* || __has_feature(modules) */
#ifndef _MSC_VER

Possibly the original bug occurred when configuring with __STDC_VERSION__ equal 
to 201112, and building with __STDC_VERSION__ equal to some lower value, which 
is not something that is supposed to work in general. Or possibly there was a 
file lib/stddef.h left over from a previous build with some other compiler. 
Anyway, as this bug report looks like a false alarm and is not being followed up 
on, I'm taking the liberty of closing it. We can reopen it later if I was too hasty.

[Message part 3 (message/rfc822, inline)]
From: "Stewart, Adam James" <ajstewart <at> anl.gov>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: Unable to build emacs with Intel compilers
Date: Mon, 1 May 2017 15:45:07 +0000
[Message part 4 (text/plain, inline)]
Hi,

I'm trying to build emacs 25.2 with Intel 17.0.2 on CentOS 7.3, but the build is crashing with the following error message:


alloc.c(1383): error: identifier "max_align_t" is undefined
    return (MALLOC_IS_GC_ALIGNED || (intptr_t) p % GCALIGNMENT == 0
            ^

alloc.c(1407): error: identifier "max_align_t" is undefined
    if (! MALLOC_IS_GC_ALIGNED)
          ^


Do you have any idea what might be causing this? I can send you the full build log if it will help.

Adam J. Stewart
Assistant Systems Administrator
Laboratory Computing Resource Center
Computing, Environment and Life Sciences
Argonne National Laboratory
[Message part 5 (text/html, inline)]

This bug report was last modified 7 years and 353 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.