Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 1245595

Summary: yaws ftbfs on aarch64 due to -m64 use
Product: [Fedora] Fedora Reporter: Marcin Juszkiewicz <mjuszkie>
Component: yawsAssignee: Filip Andres <filip>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: filip, lemenkov, lkundrak, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-28 15:04:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 922257    
Description Flags
spec+patches none

Description Marcin Juszkiewicz 2015-07-22 10:54:19 UTC
Created attachment 1054779 [details]

Description of problem:

AArch64 does not have 32bit multilib and as such does not use -m64 switch in gcc

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. do build on aarch64 (arm-koji)

Actual results:

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 -I/usr/include/security -m64 -I"/usr/lib64/erlang/usr/include" -I/usr/include/pam/  epam.c
cc1: error: unrecognized command line option '-m64'

Expected results:

package builds

Additional info:

Comment 1 Peter Robinson 2015-07-22 11:02:17 UTC
This actually tells me the package is using custom CFLAGS not the distro specifc ones which is overall wrong.

Comment 2 Marcin Juszkiewicz 2015-07-22 11:25:29 UTC
Version 2.0 got released 9 days ago. Upgrade will get rid of -m32/m64 patches as upstream rewrote autoconf stuff after 1.98 release.

Comment 3 Filip Andres 2015-07-22 11:58:31 UTC
I will look into building the ver. 2.0 later this week. Thank you for the heads up.

Comment 5 Marcin Juszkiewicz 2015-07-28 15:04:17 UTC
2.0 built fine on aarch64/rawhide.

will take some time to land on official builder but works.