[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#839249: gcc-6: fails to build MAME on arm64



control: forwarded -1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822

forwarded upstream.

G.

On Fri, 30 Sep 2016 14:36:42 +0200 Jordi Mallach <jordi@debian.org> wrote:
> Package: gcc-6
> Version: 6.2.0-4
> Severity: normal
> 
> Hello,
> 
> Since the switch to gcc-6, mame is failing to build on arm64.
> 
> Compiling src/emu/emumem.cpp...
> g++ -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -g0 -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -MP -DNDEBUG -DCRLF=2 -DLSB_FIRST -DXMD_H -DFLAC__NO_DLL -DMAME_NOASM -DLUA_COMPAT_ALL -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -DPTR64=1 -DNO_AFFINITY_NP -I../../../../../src/osd -I../../../../../src/emu -I../../../../../src/lib -I../../../../../src/lib/util -I../../../../../3rdparty -I../../../../generated/emu -I../../../../generated/emu/layout -I../../../../../scripts/src   -pipe -Wno-deprecated-declarations -O3 -fno-strict-aliasing -mabi=lp64 -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-unused-result -Wno-array-bounds -Wno-cast-align -x c++ -std=c++14 -Woverloaded-virtual -Wsuggest-override -flifetime-dse=1 -include obj/R
>  elease/emu.h -o "obj/Release/src/emu/emumem.o" -c "../../../../../src/emu/emumem.cpp"
> {standard input}: Assembler messages:
> {standard input}:27954: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,64,32'
> {standard input}:27959: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,96,32'
> {standard input}:27964: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,128,32'
> {standard input}:27969: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,160,32'
> {standard input}:27974: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,192,32'
> {standard input}:28638: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,64,16'
> {standard input}:28643: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,80,16'
> {standard input}:28648: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,96,16'
> {standard input}:28653: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,112,16'
> {standard input}:28658: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,128,16'
> {standard input}:28663: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,144,16'
> {standard input}:28668: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,160,16'
> {standard input}:28673: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,176,16'
> {standard input}:28678: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,192,16'
> {standard input}:28683: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,208,16'
> {standard input}:28688: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,224,16'
> {standard input}:31708: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,64,32'
> {standard input}:31713: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,96,32'
> {standard input}:31718: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,128,32'
> {standard input}:31723: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,160,32'
> {standard input}:31728: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,192,32'
> {standard input}:32454: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,64,16'
> {standard input}:32459: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,80,16'
> {standard input}:32464: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,96,16'
> {standard input}:32469: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,112,16'
> {standard input}:32474: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,128,16'
> {standard input}:32479: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,144,16'
> {standard input}:32484: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,160,16'
> {standard input}:32489: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,176,16'
> {standard input}:32494: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,192,16'
> {standard input}:32499: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,208,16'
> {standard input}:32504: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,224,16'
> 
> Per request of Matthias, I'm attaching the generated .ii and .s files for the
> source file.
> 
> Thanks,
> Jordi
> 
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers unstable-debug
>   APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
> Architecture: arm64
> Foreign Architectures: i386
> 
> Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: