This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gcov-profile/69004] Building t-engine on ARM fails during -fprofile-use stage


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

--- Comment #34 from Martin Liška <marxin at gcc dot gnu.org> ---
> 
> Breakpoint 2, 0x00224a54 in lj_mem_realloc ()
> (gdb) bt
> #0  0x00224a54 in lj_mem_realloc ()
> #1  0x0021337c in resizetab ()
> #2  0x00212644 in lj_tab_newkey ()
> #3  0x001fd898 in lj_meta_tset ()
> #4  0x00217544 in lj_vmeta_tsetv ()
> #5  0x00198c04 in lua_pcall ()
> #6  0x001112b8 in docall ()
> #7  0x000ec3d0 in thread_profile ()
> #8  0xb6f085da in ?? () from /home/odroid/SDL2_gl/libSDL2-2.0.so.0
> 

That confirms my hypothesis, lj_mem_realloc is writing to a profile that is
simultaneously dumped by gcov_exit routine.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]