| Summary: | python 2.5.2-r7 (and r6) emerge fails with threads | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | ivo welch <ivo.welch> |
| Component: | [OLD] Core system | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | minor | ||
| Priority: | Lowest | ||
| Version: | 2008.0 | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | environment and build log | ||
|
Description
ivo welch
2008-08-03 01:45:29 UTC
Works fine here. Sure that this isn't a hardware issue? Created attachment 162085 [details]
environment and build log
environment and build log
positive. it occurs on two virtually identical machines (hardware, software, etc.) the complete emerge is [ebuild NS ] dev-lang/python-2.5.2-r6 USE="berkdb examples gdbm ipv6 ncurses readline ssl threads -bootstrap -build -doc -sqlite -tk -ucs2 -wininst" hope it helps. /iaw Did you try without "-Wl,-01"? (In reply to comment #4) > Did you try without "-Wl,-01"? > really dumb question: how? I tried CFLAGS="-W0" for example, but it does not seem to have an effect. I have even tried taking out -O2 from my make.conf file. I also have no idea even what -Wl means/does, nor how to take it out. (It also looks like this is more serious for me than I thought, because gnome and some other packages depend on python. So, help appreciated.) /iaw Well, it seems you have this in your make.conf: LDFLAGS="-Wl,-O1" So, just comment it out and try again. Atm it seems that the compiler is segfaulting, therefore I'm asking you to try without... (In reply to comment #6) > Well, it seems you have this in your make.conf: > LDFLAGS="-Wl,-O1" > So, just comment it out and try again. Atm it seems that the compiler is > segfaulting, therefore I'm asking you to try without... > for me it worked when I commented "-O2" out of CFLAGS in my make.conf unfortunately, not for me. I do not have these flags in my make.conf . I used to have -O2 in my make.conf, but I have removed it like Ingo, too. the invoke is still x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -L. -fno-strict-aliasing -DNDEBUG -march=nocona -pipe -fwrapv -I. -IInclude -I./Include build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r6/work/Python-2.5.2/Modules/_sqlite/cache.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r6/work/Python-2.5.2/Modules/_sqlite/connection.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r6/work/Python-2.5.2/Modules/_sqlite/cursor.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r6/work/Python-2.5.2/Modules/_sqlite/microprotocols.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r6/work/Python-2.5.2/Modules/_sqlite/module.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r6/work/Python-2.5.2/Modules/_sqlite/prepare_protocol.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r6/work/Python-2.5.2/Modules/_sqlite/row.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r6/work/Python-2.5.2/Modules/_sqlite/statement.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r6/work/Python-2.5.2/Modules/_sqlite/util.o -L/usr/lib64 -L/usr/local/lib -L. -Wl,-R/usr/lib64 -lsqlite3 -lpython2.5 -o build/lib.linux-x86_64-2.5/_sqlite3.so /bin/sh: line 1: 22313 Segmentation fault LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/python-2.5.2-r6/work/Python-2.5.2: CC='x86_64-pc-linux-gnu-gcc -pthread' LDSHARED='x86_64-pc-linux-gnu-gcc -pthread -shared' OPT='-DNDEBUG -march=nocona -pipe -fwrapv' ./python -E ./setup.py build "-O1" seems to come from the ebuild itself. "-Wl" is a mystery to me. It is explicitly mentioned in earlier python ebuilds, but not in the current one. so, if this is a gcc compiler bug, maybe I should move onto a later gcc and try again... ivo: sorry, it seems that LDFLAGS="-Wl,-O1" comes from the profile. Could you please add LDFLAGS="" to your make.conf and try again please? sorry, no: ... x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -march=nocona -pipe -fwrapv -DMODULE_NAME="sqlite3" -IModules/_sqlite -I/usr/include -I. -I/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/./Include -I. -IInclude -I./Include -I/usr/local/include -I/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/Include -I/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2 -c -DMODULE_NAME="sqlite3" -IModules/_sqlite -I/usr/include -I. -I/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/./Include -I. -IInclude -I./Include -I/usr/local/include -I/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/Include -I/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2 -c /var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/Modules/_sqlite/util.c -o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/Modules/_sqlite/util.o x86_64-pc-linux-gnu-gcc -pthread -shared -L. -fno-strict-aliasing -DNDEBUG -march=nocona -pipe -fwrapv -I. -IInclude -I./Include build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/Modules/_sqlite/cache.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/Modules/_sqlite/connection.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/Modules/_sqlite/cursor.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/Modules/_sqlite/microprotocols.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/Modules/_sqlite/module.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/Modules/_sqlite/prepare_protocol.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/Modules/_sqlite/row.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/Modules/_sqlite/statement.o build/temp.linux-x86_64-2.5/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2/Modules/_sqlite/util.o -L/usr/lib64 -L/usr/local/lib -L. -Wl,-R/usr/lib64 -lsqlite3 -lpython2.5 -o build/lib.linux-x86_64-2.5/_sqlite3.so /bin/sh: line 1: 9181 Segmentation fault LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/python-2.5.2-r7/work/Python-2.5.2: CC='x86_64-pc-linux-gnu-gcc -pthread' LDSHARED='x86_64-pc-linux-gnu-gcc -pthread -shared' OPT='-DNDEBUG -march=nocona -pipe -fwrapv' ./python -E ./setup.py build make: *** [sharedmods] Error 139 Please test with newer versions. |