This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Compilation failure on Debian 4
Type: Stage: resolved
Components: Build Versions: Python 3.6
process
Status: closed Resolution: wont fix
Dependencies: Superseder: Build failure for 3.6 on Centos 5.11
View: 28092
Assigned To: Nosy List: benjamin.peterson, martin.panter, wizzardx
Priority: normal Keywords:

Created on 2016-09-16 05:19 by wizzardx, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (5)
msg276674 - (view) Author: David (wizzardx) Date: 2016-09-16 05:19
Hi there.

On Debian 4, while running 'make' against a downloaded and extracted Python-3.6.0b1.tar.xz, I get this error:

====================
gcc -pthread -c -fno-strict-aliasing -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes    -std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers   -I. -IInclude -I./Include    -DPy_BUILD_CORE \
              -DHGVERSION="\"`LC_ALL=C `\"" \
              -DHGTAG="\"`LC_ALL=C `\"" \
              -DHGBRANCH="\"`LC_ALL=C `\"" \
              -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c
gcc -pthread -c -fno-strict-aliasing -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes    -std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers   -I. -IInclude -I./Include    -DPy_BUILD_CORE -o Programs/_freeze_importlib.o Programs/_freeze_importlib.c
gcc -pthread   -o Programs/_freeze_importlib Programs/_freeze_importlib.o Modules/getbuildinfo.o Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/parsetok.o Parser/tokenizer.o Objects/abstract.o Objects/accu.o Objects/boolobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o Objects/cellobject.o Objects/classobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/odictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/namespaceobject.o Objects/object.o Objects/obmalloc.o Objects/capsule.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/unicodeobject.o Objects/unicodectype.o Objects/weakrefobject.o Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/dynamic_annotations.o Python/dtrace_stubs.o Python/errors.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pyhash.o Python/pylifecycle.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/pytime.o Python/random.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/pystrhex.o Python/dtoa.o Python/formatter_unicode.o Python/fileutils.o Python/dynload_shlib.o   Python/thread.o  Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o Modules/_threadmodule.o  Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  Modules/_weakref.o  Modules/_functoolsmodule.o  Modules/_operator.o  Modules/_collectionsmodule.o  Modules/itertoolsmodule.o  Modules/atexitmodule.o  Modules/signalmodule.o  Modules/_stat.o  Modules/timemodule.o  Modules/_localemodule.o  Modules/_iomodule.o Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o Modules/textio.o Modules/stringio.o  Modules/zipimport.o  Modules/faulthandler.o  Modules/_tracemalloc.o Modules/hashtable.o  Modules/symtablemodule.o  Modules/xxsubtype.o -lpthread -ldl  -lutil -lrt   -lm  
Python/dtrace_stubs.o: In function `PyDTrace_LINE':
Include/pydtrace.h:28: multiple definition of `PyDTrace_LINE'
Python/ceval.o:Include/pydtrace.h:28: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_FUNCTION_ENTRY':
Include/pydtrace.h:29: multiple definition of `PyDTrace_FUNCTION_ENTRY'
Python/ceval.o:Include/pydtrace.h:29: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_FUNCTION_RETURN':
Include/pydtrace.h:30: multiple definition of `PyDTrace_FUNCTION_RETURN'
Python/ceval.o:Include/pydtrace.h:30: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_GC_START':
Include/pydtrace.h:31: multiple definition of `PyDTrace_GC_START'
Python/ceval.o:Include/pydtrace.h:31: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_GC_DONE':
Include/pydtrace.h:32: multiple definition of `PyDTrace_GC_DONE'
Python/ceval.o:Include/pydtrace.h:32: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_NEW_START':
Include/pydtrace.h:33: multiple definition of `PyDTrace_INSTANCE_NEW_START'
Python/ceval.o:Include/pydtrace.h:33: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_NEW_DONE':
Include/pydtrace.h:34: multiple definition of `PyDTrace_INSTANCE_NEW_DONE'
Python/ceval.o:Include/pydtrace.h:34: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_DELETE_START':
Include/pydtrace.h:35: multiple definition of `PyDTrace_INSTANCE_DELETE_START'
Python/ceval.o:Include/pydtrace.h:35: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_DELETE_DONE':
Include/pydtrace.h:36: multiple definition of `PyDTrace_INSTANCE_DELETE_DONE'
Python/ceval.o:Include/pydtrace.h:36: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_LINE_ENABLED':
Include/pydtrace.h:38: multiple definition of `PyDTrace_LINE_ENABLED'
Python/ceval.o:Include/pydtrace.h:38: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_FUNCTION_ENTRY_ENABLED':
Include/pydtrace.h:39: multiple definition of `PyDTrace_FUNCTION_ENTRY_ENABLED'
Python/ceval.o:Include/pydtrace.h:39: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_FUNCTION_RETURN_ENABLED':
Include/pydtrace.h:40: multiple definition of `PyDTrace_FUNCTION_RETURN_ENABLED'
Python/ceval.o:Include/pydtrace.h:40: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_GC_START_ENABLED':
Include/pydtrace.h:41: multiple definition of `PyDTrace_GC_START_ENABLED'
Python/ceval.o:Include/pydtrace.h:41: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_GC_DONE_ENABLED':
Include/pydtrace.h:42: multiple definition of `PyDTrace_GC_DONE_ENABLED'
Python/ceval.o:Include/pydtrace.h:42: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_NEW_START_ENABLED':
Include/pydtrace.h:43: multiple definition of `PyDTrace_INSTANCE_NEW_START_ENABLED'
Python/ceval.o:Include/pydtrace.h:43: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_NEW_DONE_ENABLED':
Include/pydtrace.h:44: multiple definition of `PyDTrace_INSTANCE_NEW_DONE_ENABLED'
Python/ceval.o:Include/pydtrace.h:44: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_DELETE_START_ENABLED':
Include/pydtrace.h:45: multiple definition of `PyDTrace_INSTANCE_DELETE_START_ENABLED'
Python/ceval.o:Include/pydtrace.h:45: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_DELETE_DONE_ENABLED':
Include/pydtrace.h:46: multiple definition of `PyDTrace_INSTANCE_DELETE_DONE_ENABLED'
Python/ceval.o:Include/pydtrace.h:46: first defined here
Modules/gcmodule.o: In function `PyDTrace_LINE':
Include/pydtrace.h:28: multiple definition of `PyDTrace_LINE'
Python/ceval.o:Include/pydtrace.h:28: first defined here
Modules/gcmodule.o: In function `PyDTrace_FUNCTION_ENTRY':
Include/pydtrace.h:29: multiple definition of `PyDTrace_FUNCTION_ENTRY'
Python/ceval.o:Include/pydtrace.h:29: first defined here
Modules/gcmodule.o: In function `PyDTrace_FUNCTION_RETURN':
Include/pydtrace.h:30: multiple definition of `PyDTrace_FUNCTION_RETURN'
Python/ceval.o:Include/pydtrace.h:30: first defined here
Modules/gcmodule.o: In function `PyDTrace_GC_START':
Include/pydtrace.h:31: multiple definition of `PyDTrace_GC_START'
Python/ceval.o:Include/pydtrace.h:31: first defined here
Modules/gcmodule.o: In function `PyDTrace_GC_DONE':
Include/pydtrace.h:32: multiple definition of `PyDTrace_GC_DONE'
Python/ceval.o:Include/pydtrace.h:32: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_NEW_START':
Include/pydtrace.h:33: multiple definition of `PyDTrace_INSTANCE_NEW_START'
Python/ceval.o:Include/pydtrace.h:33: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_NEW_DONE':
Include/pydtrace.h:34: multiple definition of `PyDTrace_INSTANCE_NEW_DONE'
Python/ceval.o:Include/pydtrace.h:34: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_DELETE_START':
Include/pydtrace.h:35: multiple definition of `PyDTrace_INSTANCE_DELETE_START'
Python/ceval.o:Include/pydtrace.h:35: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_DELETE_DONE':
Include/pydtrace.h:36: multiple definition of `PyDTrace_INSTANCE_DELETE_DONE'
Python/ceval.o:Include/pydtrace.h:36: first defined here
Modules/gcmodule.o: In function `PyDTrace_LINE_ENABLED':
Include/pydtrace.h:38: multiple definition of `PyDTrace_LINE_ENABLED'
Python/ceval.o:Include/pydtrace.h:38: first defined here
Modules/gcmodule.o: In function `PyDTrace_FUNCTION_ENTRY_ENABLED':
Include/pydtrace.h:39: multiple definition of `PyDTrace_FUNCTION_ENTRY_ENABLED'
Python/ceval.o:Include/pydtrace.h:39: first defined here
Modules/gcmodule.o: In function `PyDTrace_FUNCTION_RETURN_ENABLED':
Include/pydtrace.h:40: multiple definition of `PyDTrace_FUNCTION_RETURN_ENABLED'
Python/ceval.o:Include/pydtrace.h:40: first defined here
Modules/gcmodule.o: In function `PyDTrace_GC_START_ENABLED':
Include/pydtrace.h:41: multiple definition of `PyDTrace_GC_START_ENABLED'
Python/ceval.o:Include/pydtrace.h:41: first defined here
Modules/gcmodule.o: In function `PyDTrace_GC_DONE_ENABLED':
Include/pydtrace.h:42: multiple definition of `PyDTrace_GC_DONE_ENABLED'
Python/ceval.o:Include/pydtrace.h:42: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_NEW_START_ENABLED':
Include/pydtrace.h:43: multiple definition of `PyDTrace_INSTANCE_NEW_START_ENABLED'
Python/ceval.o:Include/pydtrace.h:43: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_NEW_DONE_ENABLED':
Include/pydtrace.h:44: multiple definition of `PyDTrace_INSTANCE_NEW_DONE_ENABLED'
Python/ceval.o:Include/pydtrace.h:44: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_DELETE_START_ENABLED':
Include/pydtrace.h:45: multiple definition of `PyDTrace_INSTANCE_DELETE_START_ENABLED'
Python/ceval.o:Include/pydtrace.h:45: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_DELETE_DONE_ENABLED':
Include/pydtrace.h:46: multiple definition of `PyDTrace_INSTANCE_DELETE_DONE_ENABLED'
Python/ceval.o:Include/pydtrace.h:46: first defined here
collect2: ld returned 1 exit status
make: *** [Programs/_freeze_importlib] Error 1
====================

Please check?
msg276675 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2016-09-16 05:20
We don't support GCC versions < 4.3 anymore.
msg276676 - (view) Author: David (wizzardx) Date: 2016-09-16 05:21
Thanks.

What is the last official version of Python which does support GCC versions
< 4.3 ?

On Fri, Sep 16, 2016 at 7:20 AM, Benjamin Peterson <report@bugs.python.org>
wrote:

>
> Benjamin Peterson added the comment:
>
> We don't support GCC versions < 4.3 anymore.
>
> ----------
> nosy: +benjamin.peterson
> resolution:  -> wont fix
> status: open -> closed
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue28177>
> _______________________________________
>
msg276677 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2016-09-16 05:22
3.5 probably works.

On Thu, Sep 15, 2016, at 22:21, David wrote:
> 
> David added the comment:
> 
> Thanks.
> 
> What is the last official version of Python which does support GCC
> versions
> < 4.3 ?
> 
> On Fri, Sep 16, 2016 at 7:20 AM, Benjamin Peterson
> <report@bugs.python.org>
> wrote:
> 
> >
> > Benjamin Peterson added the comment:
> >
> > We don't support GCC versions < 4.3 anymore.
> >
> > ----------
> > nosy: +benjamin.peterson
> > resolution:  -> wont fix
> > status: open -> closed
> >
> > _______________________________________
> > Python tracker <report@bugs.python.org>
> > <http://bugs.python.org/issue28177>
> > _______________________________________
> >
> 
> ----------
> 
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue28177>
> _______________________________________
msg276678 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-09-16 05:44
For the record, there is more discussion of this in Issue 28092
History
Date User Action Args
2022-04-11 14:58:36adminsetgithub: 72364
2016-09-16 05:44:51martin.pantersetsuperseder: Build failure for 3.6 on Centos 5.11

messages: + msg276678
nosy: + martin.panter
2016-09-16 05:26:18zach.waresetstage: resolved
2016-09-16 05:22:24benjamin.petersonsetmessages: + msg276677
2016-09-16 05:21:58wizzardxsetmessages: + msg276676
2016-09-16 05:20:12benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg276675

resolution: wont fix
2016-09-16 05:19:16wizzardxcreate