Bug 243188

Summary: emulators/qemu: fix build on powerpc64 elfv2
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Muhammad Moinur Rahman <bofh>
Status: Closed FIXED    
Severity: Affects Only Me CC: bofh, powerpc
Priority: --- Flags: bugzilla: maintainer-feedback? (bofh)
Version: Latest   
Hardware: powerpc   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (bofh)

Description Piotr Kubaj freebsd_committer freebsd_triage 2020-01-08 14:26:34 UTC
Created attachment 210536 [details]
patch

Clang doesn't like -mbig:
cc -mbig -c -o spapr-rtas.o spapr-rtas.S
cc: error: unknown argument: '-mbig'

This file doesn't seem to be built on amd64, so removing -mbig doesn't cause a problem there. I also successfully built on powerpc64 elfv1 and it also builds.
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-01-22 17:34:47 UTC
A commit references this bug:

Author: pkubaj
Date: Wed Jan 22 17:34:11 UTC 2020
New revision: 523823
URL: https://svnweb.freebsd.org/changeset/ports/523823

Log:
  emulators/qemu: fix build on powerpc64 elfv2

  Clang doesn't like -mbig:
  cc -mbig -c -o spapr-rtas.o spapr-rtas.S
  cc: error: unknown argument: '-mbig'

  This file doesn't seem to be built on amd64, so removing -mbig doesn't cause a problem there. I also successfully built on powerpc64 elfv1 and it also builds.

  PR:		243188
  Approved by:	bofh (maintainer timeout)

Changes:
  head/emulators/qemu/files/patch-pc-bios_spapr-rtas_Makefile