Bug 243188 - emulators/qemu: fix build on powerpc64 elfv2
Summary: emulators/qemu: fix build on powerpc64 elfv2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-08 14:26 UTC by Piotr Kubaj
Modified: 2020-01-22 17:34 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments
patch (1.22 KB, patch)
2020-01-08 14:26 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (bofh)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 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 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