[Nasm-bugs] [Bug 3392479] New: nasm 2.13.01 2.13.03 fail to compile with GCC 8.1

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Thu May 3 04:25:03 PDT 2018


https://bugzilla.nasm.us/show_bug.cgi?id=3392479

            Bug ID: 3392479
           Summary: nasm 2.13.01 2.13.03 fail to compile with GCC 8.1
           Product: NASM
           Version: 2.13.xx
          Hardware: All
                OS: All
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: mike at fireburn.co.uk
                CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Build from source archive using configure

Created attachment 411640
  --> https://bugzilla.nasm.us/attachment.cgi?id=411640&action=edit
2.13.01 Build log

In file included from stdlib/vsnprintf.c:15:
./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’
[-Werror=attributes]
 void pure_func seg_init(void);
 ^~~~
In file included from ./include/nasm.h:44,
                 from asm/nasm.c:48:
./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’
[-Werror=attributes]
 void pure_func seg_init(void);
 ^~~~
cc1: some warnings being treated as errors
In file included from stdlib/snprintf.c:13:
./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’
[-Werror=attributes]
 void pure_func seg_init(void);
 ^~~~
make: *** [Makefile:76: stdlib/vsnprintf.o] Error 1
make: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
make: *** [Makefile:76: stdlib/snprintf.o] Error 1
In file included from nasmlib/malloc.c:42:
./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’
[-Werror=attributes]
 void pure_func seg_init(void);
 ^~~~
In file included from nasmlib/crc64.c:35:
./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’
[-Werror=attributes]
 void pure_func seg_init(void);
 ^~~~

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Nasm-bugs mailing list