Bug 196856

Summary: emulators/x49gp fails to build with GCC 4.9 (but uses USE_GCC=yes)
Product: Ports & Packages Reporter: Gerald Pfeifer <gerald>
Component: Individual Port(s)Assignee: Shaun Amott <shaun>
Status: Closed FIXED    
Severity: Affects Some People CC: gerald
Priority: --- Flags: bugzilla: maintainer-feedback? (shaun)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 196712    

Description Gerald Pfeifer freebsd_committer 2015-01-18 23:12:14 UTC
This is important since it blocks the upgrade of the default version
of GCC from GCC 4.8 to GCC 4.9.  If you cannot fix it, please change
to USE_GCC=4.8 for the time being.

 CC    arm-softmmu/cpu-exec.o
In file included from /wrkdirs/usr/ports/emulators/x49gp/work/x49gp/x49gp-code/qemu/qemu-git/target-arm/exec.h:26:0,
                 from /wrkdirs/usr/ports/emulators/x49gp/work/x49gp/x49gp-code/qemu/qemu-git/cpu-exec.c:20:
/wrkdirs/usr/ports/emulators/x49gp/work/x49gp/x49gp-code/qemu/qemu-git/cpu-exec.c: In function 'cpu_arm_exec':
/wrkdirs/usr/ports/emulators/x49gp/work/x49gp/x49gp-code/qemu/qemu-git/target-arm/cpu.h:409:18: error: frame pointer required, but reserved
 #define cpu_exec cpu_arm_exec
                  ^
/wrkdirs/usr/ports/emulators/x49gp/work/x49gp/x49gp-code/qemu/qemu-git/cpu-exec.c:214:5: note: in expansion of macro 'cpu_exec'
 int cpu_exec(CPUState *env1)
     ^
In file included from /wrkdirs/usr/ports/emulators/x49gp/work/x49gp/x49gp-code/qemu/qemu-git/cpu-exec.c:20:0:
/wrkdirs/usr/ports/emulators/x49gp/work/x49gp/x49gp-code/qemu/qemu-git/target-arm/exec.h:22:30: note: for 'env'
 register struct CPUARMState *env asm(AREG0);
                              ^
/wrkdirs/usr/ports/emulators/x49gp/work/x49gp/x49gp-code/qemu/qemu-git/rules.mak:18: recipe for target 'cpu-exec.o' failed
gmake[3]: *** [cpu-exec.o] Error 1
Comment 1 Bugzilla Automation freebsd_committer 2015-01-18 23:12:14 UTC
Auto-assigned to maintainer shaun@FreeBSD.org
Comment 2 Gerald Pfeifer freebsd_committer 2015-01-18 23:13:11 UTC
This looks similar to PR 196855 about emulators/qemu.
Comment 3 Shaun Amott freebsd_committer 2015-01-27 00:27:44 UTC
It turned out that the port breakage wasn't due to GCC. I've fixed the fault.