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: "tulipawn at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Aug 2016 14:59:40 +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 #30 from PeteVine <tulipawn at gmail dot com> ---
Breakpoint 2, 0x00224a54 in lj_mem_realloc ()
(gdb) bt
#0 0x00224a54 in lj_mem_realloc ()
#1 0x00185d68 in cpluaopen ()
#2 0x002173ac in lj_vm_cpcall ()
#3 0x00185c3c in lua_newstate ()
#4 0x001aa274 in luaL_newstate ()
#5 0x00111848 in boot_lua ()
#6 0x0003883c in main ()
(gdb) info threads
Id Target Id Frame
7 Thread 0xb022c450 (LWP 7019) "t-engine" 0xb6c62e44 in ioctl () at
../sysdeps/unix/syscall-template.S:81
6 Thread 0xb0a2c450 (LWP 7018) "t-engine" __libc_do_syscall ()
at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
5 Thread 0xb12ff450 (LWP 7016) "SDLTimer" __libc_do_syscall ()
at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
4 Thread 0xb1cff450 (LWP 7015) "t-engine" 0xb6cdfd8e in nanosleep ()
at ../sysdeps/unix/syscall-template.S:81
3 Thread 0xb6634450 (LWP 7014) "threaded-ml" 0xb6c5efc0 in poll () at
../sysdeps/unix/syscall-template.S:81
* 1 Thread 0xb693a000 (LWP 7009) "t-engine" 0x00224a54 in lj_mem_realloc ()
The former is only called on program exit:
Breakpoint 1, gcov_exit () at ../../../libgcc/libgcov-driver.c:877
877 {
(gdb) bt
#0 gcov_exit () at ../../../libgcc/libgcov-driver.c:877
#1 0xb6bfe6ce in __run_exit_handlers (status=0, listp=0xb6caf4b8
<__exit_funcs>,
run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#2 0xb6bfe6f4 in __GI_exit (status=<optimized out>) at exit.c:104
#3 0xb6bec674 in __libc_start_main (main=0x37bf8 <main>, argc=2,
argv=0xbeffefa4, init=<optimized out>,
fini=0x3a6f8d <__libc_csu_fini>, rtld_fini=0xb6fea455 <_dl_fini>,
stack_end=0xbeffefa4) at libc-start.c:321
#4 0x0003a168 in _start ()
(gdb) info threads
Id Target Id Frame
12 Thread 0xad1c9450 (LWP 7130) "profile" 0xb6cdfd8e in nanosleep () at
../sysdeps/unix/syscall-template.S:81
11 Thread 0xae22c450 (LWP 7129) "particles" __libc_do_syscall ()
at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
10 Thread 0xaea2c450 (LWP 7128) "particles" __libc_do_syscall ()
at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
9 Thread 0xaf22c450 (LWP 7127) "particles" __libc_do_syscall ()
at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
8 Thread 0xafa2c450 (LWP 7126) "save" __libc_do_syscall ()
at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
7 Thread 0xb022c450 (LWP 7125) "t-engine" 0xb6c62e44 in ioctl () at
../sysdeps/unix/syscall-template.S:81
6 Thread 0xb0a2c450 (LWP 7124) "t-engine" __libc_do_syscall ()
at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
5 Thread 0xb12ff450 (LWP 7123) "SDLTimer" __libc_do_syscall ()
at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
4 Thread 0xb1cff450 (LWP 7122) "t-engine" 0xb6cdfd8e in nanosleep ()
at ../sysdeps/unix/syscall-template.S:81
3 Thread 0xb6634450 (LWP 7121) "threaded-ml" 0xb6c5efc0 in poll () at
../sysdeps/unix/syscall-template.S:81
* 1 Thread 0xb693a000 (LWP 7116) "t-engine" gcov_exit () at
../../../libgcc/libgcov-driver.c:877