This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov-profile/69004] Building t-engine on ARM fails during -fprofile-use stage
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Aug 2016 15:43:08 +0000
- Subject: [Bug gcov-profile/69004] Building t-engine on ARM fails during -fprofile-use stage
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-69004-4@http.gcc.gnu.org/bugzilla/>
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.