FS#60380 - [nasm] compilation fails with gcc 8.2

Attached to Project: Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Thursday, 11 October 2018, 08:43 GMT
Last edited by freswa (frederik) - Saturday, 26 September 2020, 19:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

In file included from ./include/nasm.h:46,
from asm/nasm.c:47:
./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

See for instance Fedora:

https://src.fedoraproject.org/rpms/nasm/raw/0cc3eb244bd971df81a7f02bc12c5ec259e1a5d6/f/0001-Remove-invalid-pure_func-qualifiers.patch

Additional info:
* package version(s): 2.13.03-1
* config and/or log files etc.


Steps to reproduce:
asp export nasm
cd nasm
staging-x86_64-build
   nasm.txt (14.2 KiB)
This task depends upon

Closed by  freswa (frederik)
Saturday, 26 September 2020, 19:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  nasm 2.14-1

Loading...