Bug 766543 - error compiling mesa 7.11.2 on ARM hardfp/softfp
Summary: error compiling mesa 7.11.2 on ARM hardfp/softfp
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 15
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
Reported: 2011-12-12 10:11 UTC by Peter Robinson
Modified: 2012-03-02 16:47 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-03-02 16:47:08 UTC

Attachments (Terms of Use)
.out file from build (296.82 KB, text/plain)
2011-12-26 21:42 UTC, Dennis Gilmore
no flags Details

Description Peter Robinson 2011-12-12 10:11:47 UTC
In a follow up to bug #713609 but for mesa-7.11.2-1 on F-15 arm I'm getting the following build errors when building on ARM.

gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -I../../../../src/gallium/drivers/svga/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DMESA_SELINUX -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_LIBUDEV -DHAVE_XCB_DRI2 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0208 -fvisibility=hidden -std=gnu99 -fvisibility=hidden -DHAVE_STDINT_H -DHAVE_SYS_TYPES_H -I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS svga_tgsi_decl_sm30.c -o svga_tgsi_decl_sm30.o
svga_tgsi_decl_sm30.c: In function 'ps30_output':
svga_tgsi_decl_sm30.c:193:26: warning: variable 'reg' set but not used [-Wunused-but-set-variable]
svga_tgsi_decl_sm30.c: In function 'svga_translate_decl_sm30':
svga_tgsi_decl_sm30.c:351:13: warning: variable 'semantic_idx' set but not used [-Wunused-but-set-variable]
svga_tgsi_decl_sm30.c:350:13: warning: variable 'semantic' set but not used [-Wunused-but-set-variable]
gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -I../../../../src/gallium/drivers/svga/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DMESA_SELINUX -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_LIBUDEV -DHAVE_XCB_DRI2 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0208 -fvisibility=hidden -std=gnu99 -fvisibility=hidden -DHAVE_STDINT_H -DHAVE_SYS_TYPES_H -I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS svga_tgsi_insn.c -o svga_tgsi_insn.o
svga_tgsi_insn.c: In function 'svga_shader_emit_instructions':
svga_tgsi_insn.c:3071:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:12094
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccqOGJZN.out file, please attach this to your bugreport.
gmake[4]: *** [svga_tgsi_insn.o] Error 1
gmake[4]: Leaving directory `/builddir/build/BUILD/Mesa-7.11.2/src/gallium/drivers/svga'
gmake[3]: Leaving directory `/builddir/build/BUILD/Mesa-7.11.2/src/gallium/drivers'
gmake[3]: *** [default] Error 1
gmake[2]: Leaving directory `/builddir/build/BUILD/Mesa-7.11.2/src/gallium'
gmake[2]: *** [default] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/Mesa-7.11.2/src'
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1

Full output in the log here:


Full task here:

Comment 1 Adam Jackson 2011-12-20 20:11:34 UTC
ICE in gcc -> gcc bug

Comment 2 Jakub Jelinek 2011-12-20 21:48:32 UTC
Preprocessed source stored into /tmp/ccqOGJZN.out file, please attach this to
your bugreport.

Comment 3 Dennis Gilmore 2011-12-26 21:42:45 UTC
Created attachment 549626 [details]
.out file from build

Comment 4 Peter Robinson 2011-12-27 13:59:45 UTC
Looks like its this gcc bug as reported in the Linaro bug tracker


Comment 5 Peter Robinson 2012-03-02 16:47:08 UTC
mesa compiles fine on f-17 ARM

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