https://bugzilla.redhat.com/show_bug.cgi?id=1313841
Bug ID: 1313841 Summary: nasm 2.12 build failure on PowerPC Product: Fedora Version: rawhide Component: nasm Severity: high Assignee: mizdebsk@redhat.com Reporter: normand@linux.vnet.ibm.com QA Contact: extras-qa@fedoraproject.org CC: java-sig-commits@lists.fedoraproject.org, mizdebsk@redhat.com, msimacek@redhat.com, msrb@redhat.com
Description of problem: nasm 2.12 build failure on PowerPC
as reported by koji http://ppc.koji.fedoraproject.org/kojifiles/work/tasks/7405/3187405/build.lo... === gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -W -Wall -std=c99 -pedantic -Werror=implicit -Werror=missing-braces -Werror=return-type -Werror=trigraphs -Werror=pointer-arith -Werror=missing-prototypes -Werror=missing-declarations -Werror=comment -Werror=vla -DHAVE_CONFIG_H -I. -I. -o realpath.o realpath.c In file included from /usr/include/bits/sigcontext.h:27:0, from /usr/include/signal.h:306, from /usr/include/sys/param.h:28, from realpath.c:47: /usr/include/asm/sigcontext.h:17:23: error: expected identifier or '(' before '[' token unsigned long _unused[4]; ===
https://bugzilla.redhat.com/show_bug.cgi?id=1313841
--- Comment #1 from Michel Normand normand@linux.vnet.ibm.com --- Created attachment 1132295 --> https://bugzilla.redhat.com/attachment.cgi?id=1132295&action=edit nasm_change_unused.patch
The attached patch is suggested correction
https://bugzilla.redhat.com/show_bug.cgi?id=1313841
Michel Normand normand@linux.vnet.ibm.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1051573 (PPC64LETracker)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1051573 [Bug 1051573] ppc64le tracker bug
https://bugzilla.redhat.com/show_bug.cgi?id=1313841
--- Comment #2 from Michel Normand normand@linux.vnet.ibm.com --- related scratch build passed without error. http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3189786
https://bugzilla.redhat.com/show_bug.cgi?id=1313841
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
https://bugzilla.redhat.com/show_bug.cgi?id=1313841
--- Comment #3 from Mikolaj Izdebski mizdebsk@redhat.com --- Forwarded upstream: http://bugzilla.nasm.us/show_bug.cgi?id=3392339
https://bugzilla.redhat.com/show_bug.cgi?id=1313841
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Fixed In Version| |nasm-2.12-2.fc24 Resolution|--- |RAWHIDE Last Closed| |2016-03-03 02:39:36
--- Comment #4 from Mikolaj Izdebski mizdebsk@redhat.com --- Fixed in nasm-2.12-2.fc24 http://ppc.koji.fedoraproject.org/koji/buildinfo?buildID=386004
https://bugzilla.redhat.com/show_bug.cgi?id=1313841
H. Peter Anvin hpa@zytor.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hpa@zytor.com
--- Comment #5 from H. Peter Anvin hpa@zytor.com --- There is more to it than that. The symbol "_unused" is in application namespace, and this code leaks it. It should be changed to __unused or something else that isn't in application namespace.
java-sig-commits@lists.fedoraproject.org