https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65844

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Hello.

Is it possible to reproduce the ICE on x86_64 by adding '-m32' to {C,LD}FLAGS.

I face following SEGFAULT (with -fprofile-generate -lto -m32) in:

gdb --args ./Programs/_freeze_importlib ./Lib/importlib/_bootstrap.py
Python/importlib.h


(gdb) r
Starting program:
/home/marxin/Programming/Python-3.5.0a4/Programs/_freeze_importlib
./Lib/importlib/_bootstrap.py Python/importlib.h
Got object file from memory but can't read symbols: File truncated.
Missing separate debuginfos, use: zypper install
glibc-32bit-debuginfo-2.19-16.9.1.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
va_build_value (flags=0, va=0xffffcb34 ":\321\071\bt_9\bt_9\b\340\215T\b",
format=0x839d142 "(szz)") at Python/modsupport.c:455
455            Py_VA_COPY(lva, va);
Missing separate debuginfos, use: zypper install
libgcc_s1-32bit-debuginfo-4.8.3+r212056-2.2.4.x86_64
(gdb) bt
#0  va_build_value (flags=0, va=0xffffcb34 ":\321\071\bt_9\bt_9\b\340\215T\b",
format=0x839d142 "(szz)") at Python/modsupport.c:455
#1  Py_BuildValue (format=0x839d142 "(szz)") at Python/modsupport.c:420
#2  0x0814c1d7 in _PySys_Init () at ./Python/sysmodule.c:1713
#3  0x0819dad0 in _Py_InitializeEx_Private (install_sigs=1,
install_importlib=0) at Python/pylifecycle.c:377
#4  0x08365fee in main (argc=3, argv=0xffffcd74) at
Programs/_freeze_importlib.c:83

Thanks,
Martin

Reply via email to