Description of problem: Rebuilding tetex with current Fedora Core development tree gives: make[1]: Entering directory `/home/build/rebuild/build/tetex-2.0.2-26.src.rpm/te tex-src-2.0.2/texk/web2c/ptex-src-3.1.4' gcc -O2 -g -pipe -D_FORTIFY_SOURCE=2 -m32 -march=i386 -mtune=pentium4 ../../ kpathsea/kpsewhich.c ../../kpathsea/libkpathsea.la ../lib/lib.a ../../kpathsea/l ibkpathsea.la -lm -o ../../kpathsea/kpsewhich /usr/bin/ld:../../kpathsea/libkpathsea.la: file format not recognized; treating as linker script /usr/bin/ld:../../kpathsea/libkpathsea.la:1: syntax error collect2: ld returned 1 exit status make[1]: *** [../../kpathsea/kpsewhich] Error 1 make[1]: Leaving directory `/home/build/rebuild/build/tetex-2.0.2-26.src.rpm/tet ex-src-2.0.2/texk/web2c/ptex-src-3.1.4' make: *** [ptex-euc.fmt] Error 2 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Hi Florian, I was unable to reproduce this with: gcc-3.4.2-6.fc3 and latest devel gccs: gcc-3.4.3-10.i386.rpm and gcc4-4.0.0-0.15.i386.rpm even if I try to add -D_FORTIFY_SOURCE=2 to CFLAGS. Could you please check what's inside of the libkpathsea.la? It should contain only a compilation date such as Mon Dec 20 11:33:47 CET 2004.
Created attachment 108885 [details] Compile log with gcc-3.4.3-10
Created attachment 109457 [details] Patch to fix some broken dependencies in tetex I've done more dependency fixes in tetex makefiles, it should work fine now with -j16 for instance.