TeX Live fails to build on 32bit using gcc-14

Preuße, Hilmar hille42 at web.de
Fri Jul 26 10:49:16 CEST 2024


Hi Karl et al.,

we got a report, that it is impossibly to build [1] on 32bit, when using 
gcc-14. The error message reports:

pdftexini.c: In function ‘loadfmtfile’:
pdftexini.c:4016:25: error: assignment to ‘boolean *’ {aka ‘int *’} from 
incompatible pointer type ‘internalfontnumber *’ {aka ‘long int *’} 
[-Wincompatible-pointer-types]
  4016 |     pdffonthasspacechar = xmallocarray ( internalfontnumber , 
fontmax ) ;
       |                         ^
pdftexini.c: In function ‘mainbody’:
pdftexini.c:5569:27: error: assignment to ‘boolean *’ {aka ‘int *’} from 
incompatible pointer type ‘internalfontnumber *’ {aka ‘long int *’} 
[-Wincompatible-pointer-types]
  5569 |       pdffonthasspacechar = xmallocarray ( internalfontnumber , 
fontmax ) ;

see [2]. Please note that this is a longer standing issue, but in gcc-13 
this was considered to be a warning [3]. Further the issue occurs on 
32bit arches and is invisible on 64bit based arches [4].

Please be so kind to have a look and keep me in Cc. Thanks!

Hilmar

[1] https://github.com/TeX-Live/texlive-source
[2] 
https://buildd.debian.org/status/fetch.php?pkg=texlive-bin&arch=armel&ver=2024.20240313.70630%2Bds-3&stamp=1721907616&raw=0
[3] 
https://buildd.debian.org/status/fetch.php?pkg=texlive-bin&arch=i386&ver=2024.20240313.70630%2Bds-2&stamp=1716740091&raw=0
[4] https://buildd.debian.org/status/package.php?p=texlive-bin

-- 
sigfault

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://tug.org/pipermail/tex-live/attachments/20240726/c00e9e1a/attachment.sig>


More information about the tex-live mailing list.