Bug#1067207: mesa: switch statement too large, might need -mlong-jump-table-offsets
Thorsten Glaser <[email protected]>
| Newsgroups | gmane.linux.debian.ports.68k |
|---|---|
| Message-ID | <Pine.BSM.4.64L.2403200254420.21682__23777.9010830977$1710904180$gmane$org@herc.mirbsd.org> |
Source: mesa Version: 24.0.3-1 Severity: important Justification: FTBFS on d-ports arch X-Debbugs-CC: [email protected], [email protected] Tags: ftbfs mesa currently FTBFS on m68k with: […] cc -Isrc/nouveau/headers/libnvidia_headers.a.p […] -o src/nouveau/headers/libnvidia_headers.a.p/meson-generated_.._nvk_cla097.c.o -c src/nouveau/headers/nvk_cla097.c /tmp/ccrcAVyk.s: Assembler messages: /tmp/ccrcAVyk.s:15766: Error: Adjusted signed .word (0x8002) overflows: `switch'-statement too large. /tmp/ccrcAVyk.s:15766: Error: Adjusted signed .word (0x8008) overflows: `switch'-statement too large. […] Not sure if it makes sense to exclude building this part of nouveau on m68k (I do know someone who has added a PCI bus to his Atari and runs a Radeon on it) or whether other files in this source package also have huge jump tables. Adding the -mlong-jump-table-offsets flag to CFLAGS on m68k should unbreak this; bonus points if you add it to only the files where it’s needed, if it’s only a few and not expected to change, for example.