This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/37229] New: hang in lhd_print_error_function
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2008 07:35:10 -0000
- Subject: [Bug other/37229] New: hang in lhd_print_error_function
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
during build of the transmission package the gcc hangs:
(...)
x86_64-pld-linux-gcc -DPACKAGE_NAME=\"transmission\"
-DPACKAGE_TARNAME=\"transmission\" -DPACKAGE_VERSION=\"1.33\"
-DPACKAGE_STRING=\"transmission\ 1.33\"
-DPACKAGE_BUGREPORT=\"http://trac.transmissionbt.com/newticket\"
-DPACKAGE=\"transmission\" -DVERSION=\"1.33\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_DAEMON=1 -DHAVE_DIRNAME=1 -DHAVE_BASENAME=1 -DHAVE_DAEMON=1
-DHAVE_STRCASECMP=1 -DSIZEOF_VOIDP=8 -DHAVE_PTHREAD=1 -DHAVE_GIO=1
-DHAVE_LIBNOTIFY=1 -DHAVE_DBUS_GLIB=1 -DHAVE_LIBINTL_H=1
-DGETTEXT_PACKAGE=\"transmission\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -I. -I. -I.. -I../third-party/ -D__TRANSMISSION__
-I../third-party/libevent -D_FORTIFY_SOURCE=2 -I/usr/include/openssl
-pthread -g -Wall -W -O3 -funroll-loops -MT utils.o -MD -MP -MF .deps/utils.Tpo
-c -o utils.o utils.c
utils.c: In function 'tr_deepLog':
utils.c:193: warning: ignoring return value of 'fwrite', declared with
attribute warn_unused_result
In function 'memset',
inlined from 'tr_malloc0' at utils.c:704:
/usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len'
declared with attribute warning: memset used with constant zero length
parameter; this could be due to transposed parameters
backtrace:
0x0000000000557909 in lhd_print_error_function (context=0xda5ae0, file=<value
optimized out>, diagnostic=0x7fff22c7c2b0)
at ../../gcc/langhooks.c:427
427 while (TREE_CODE (ao) == BLOCK &&
BLOCK_ABSTRACT_ORIGIN (ao))
(gdb) bt
#0 0x0000000000557909 in lhd_print_error_function (context=0xda5ae0,
file=<value optimized out>, diagnostic=0x7fff22c7c2b0)
at ../../gcc/langhooks.c:427
#1 0x00000000004bb0e9 in default_diagnostic_starter (context=0x2b7888bfe180,
diagnostic=0x0) at ../../gcc/diagnostic.c:306
#2 0x00000000004ba445 in diagnostic_report_diagnostic (context=0xda5ae0,
diagnostic=0x7fff22c7c2b0) at ../../gcc/diagnostic.c:421
#3 0x00000000004bac28 in warning (opt=0, gmsgid=<value optimized out>) at
../../gcc/diagnostic.c:511
#4 0x00000000004f8380 in expand_expr_real_1 (exp=0x2b78894ca190, target=0x0,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
at ../../gcc/expr.c:8037
#5 0x00000000004fc323 in expand_expr_real (exp=0x2b78894ca190,
target=0x2b7887e6f400, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
at ../../gcc/expr.c:7088
#6 0x00000000005ee099 in expand_expr_stmt (exp=0x2b7888bfe180) at
../../gcc/expr.h:514
#7 0x00000000008ba440 in expand_gimple_basic_block (bb=0x2b78894cd1e0) at
../../gcc/cfgexpand.c:1610
#8 0x00000000008bb0b8 in tree_expand_cfg () at ../../gcc/cfgexpand.c:1921
#9 0x00000000005839e0 in execute_one_pass (pass=0xd9a0c0) at
../../gcc/passes.c:1122
#10 0x0000000000583b80 in execute_pass_list (pass=0xd9a0c0) at
../../gcc/passes.c:1175
#11 0x000000000062d5a2 in tree_rest_of_compilation (fndecl=0x2b7888b6f5b0) at
../../gcc/tree-optimize.c:404
#12 0x0000000000735e22 in cgraph_expand_function (node=0x2b7889028000) at
../../gcc/cgraphunit.c:1157
#13 0x0000000000737854 in cgraph_optimize () at ../../gcc/cgraphunit.c:1220
#14 0x00000000004120eb in c_write_global_declarations () at
../../gcc/c-decl.c:8087
#15 0x00000000005fa1b2 in toplev_main (argc=<value optimized out>, argv=<value
optimized out>) at ../../gcc/toplev.c:1055
#16 0x00002b78884e8486 in __libc_start_main (main=0x4615b0 <main>, argc=70,
ubp_av=0x7fff22c7c818, init=0x9577d0 <__libc_csu_init>,
fini=<value optimized out>, rtld_fini=<value optimized out>,
stack_end=0x7fff22c7c808) at libc-start.c:220
#17 0x0000000000403dd9 in _start ()
--
Summary: hang in lhd_print_error_function
Product: gcc
Version: 4.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC target triplet: x86_64-gnu-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37229