Bug 1245595 - yaws ftbfs on aarch64 due to -m64 use
Summary: yaws ftbfs on aarch64 due to -m64 use
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yaws
Version: rawhide
Hardware: aarch64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Filip Andres
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARM64, F-ExcludeArch-aarch64
TreeView+ depends on / blocked
 
Reported: 2015-07-22 10:54 UTC by Marcin Juszkiewicz
Modified: 2015-07-28 15:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-28 15:04:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
spec+patches (2.66 KB, application/mbox)
2015-07-22 10:54 UTC, Marcin Juszkiewicz
no flags Details

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

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):

1.98-7

How reproducible:

always

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.


Note You need to log in before you can comment on or make changes to this bug.