[tlbuild] building problems on s390x

Norbert Preining preining at logic.at
Sat Jul 26 11:47:00 CEST 2014


Hi Peter,

back then we had a problem with building TL on s390 with gcc 4.9.
It turned out that using -O2 was bad, and using -O1 fixed it.

Now, I have even found that I only need to recompile 
	pdftex0.c
with -O1, all others can be compiled with -O2.

Is there a way to achieve this by hacking in the .am files?

If it is not possible for one file, then at least all the files from
pdftexdir with -O1, but the rest wiht -O2.

Thanks a lot

Norbert

> (./pwprob.texSegmentation fault
> 
> FAIL: pdftexdir/pdfimage
> ========================
> 
> This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev) (INITEX)
>  restricted \write18 enabled.
> (../../../texk/web2c/pdftexdir/tests/pdfimage.tex
> (../../../texk/web2c/tests/basic.tex Preloading the plain format: codes,
> registers,
> ! Missing number, treated as zero.
> <to be read again> 
>                    \BAD.
> ...
> l.256 \newdimen\maxdimen
>                          \maxdimen=16383.99999pt % the largest legal <dimen>
> ? Segmentation fault
> 
> 



> Reading symbols from .libs/pdftex...done.
> BFD: Warning: /home/preining/source/Work/texk/web2c/core is truncated: expected core file size >= 122933248, found: 79765504.
> 
> warning: core file may not match specified executable file.
> [New LWP 27653]
> 
> warning: Error reading shared library list entry at 0x687365612e736f2e
> 
> warning: Error reading shared library list entry at 0x5461626c65005f5f
> Core was generated by `/home/preining/source/Work/texk/web2c/.libs/lt-pdftex --ini --etex --file-line-'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x000000008002d84a in getnext () at pdftex0.c:9892
> 9892	      curchr = eqtb [curcs ].hh .v.RH ;
> (gdb) bt
> Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0x3ffff8beb50: 
> #0  0x000000008002d84a in getnext () at pdftex0.c:9892
> Cannot access memory at address 0x3ffff8beb50
> (gdb) 


------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------



More information about the tlbuild mailing list