[New-bugs-announce] [issue39708] final link stage in compile fails for 3.8.1 with missing CFLAGS

Dennis Clarke report at bugs.python.org
Fri Feb 21 09:09:02 EST 2020


New submission from Dennis Clarke <dclarke at blastwave.org>:

During compile after a sucessful configure the final link stage fails : 

/opt/developerstudio12.6/bin/cc -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib    -o python Programs/python.o -Wl,-R,/usr/local/lib -L. -lpython3.8d -lsocket -lnsl -lintl -lrt -ldl -lsendfile  -lm   -lm 
ld: fatal: file /opt/developerstudio12.6/lib/compilers/crti.o: wrong ELF class: ELFCLASS32
ld: fatal: file processing errors. No output written to python
gmake: *** [Makefile:578: python] Error 2

real 107.96
user 100.96
sys 21.96
alpha$

Easily done manually : 

alpha$ $CC $CFLAGS -R/usr/local/lib -L/usr/local/lib \
> -o python Programs/python.o \
> -Wl,-R,/usr/local/lib -L. -lpython3.8d -lsocket -lnsl -lintl -lrt -ldl -lsendfile  -lm
alpha$ 

alpha$ file python 
python: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped
alpha$

----------
components: Build
messages: 362405
nosy: blastwave
priority: normal
severity: normal
status: open
title: final link stage in compile fails for 3.8.1 with missing CFLAGS
type: compile error
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39708>
_______________________________________


More information about the New-bugs-announce mailing list