GNU bug report logs -
#77709
Restoring the Hurd on core-packages-team branch
Previous Next
Full log
Message #41 received at 77709 <at> debbugs.gnu.org (full text, mbox):
Some more info for bison:
May 7, 2025, 17:18 by yelninei <at> tutamail.com:
> I asked about the bison failures on #hurd and ZhaoM tried to rebuild bison on debian with glibc 2.41 and encountered similar segfaults in the same tests.
>
>
One that is easy to reproduce is
22 Undefined Symbols (input.at:1013)
It tries to parse this file:
input.y
%printer {} foo baz
%destructor {} bar
%type <foo> qux
%%
exp: bar;
Starting program: /gnu/store/myb2g81i62fclqf0w9rm6kwrfcg8rv56-bison-3.8.2/bin/bison input.y
[bogus thread id 1 exited]
[bogus thread id 2 exited]
[bogus thread id 3 exited]
[New Thread 10710.5]
Thread 4 received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x080917db in keys_init () at lib/fstrcmp.c:69
#2 0x0113dea8 in pthread_once <at> GLIBC_2.12 ()
from /gnu/store/z945hln6sgh4nl5fy1p67hzb4i6rnc73-glibc-2.41/lib/libc.so.0.3
#3 0x08091a12 in fstrcmp_bounded (string1=0x20036120 "foo",
string2=0x200308a0 "$end", lower_bound=0.59999999999999998) at lib/fstrcmp.c:212
#4 0x08083781 in symbol_from_uniqstr_fuzzy (key=0x20036120 "foo") at src/symtab.c:368
#5 complain_symbol_undeclared (sym=0x20036130) at src/symtab.c:383
#6 symbol_check_defined (sym=0x20036130) at src/symtab.c:623
#7 symbols_check_defined () at src/symtab.c:1037
#8 0x08072a0d in check_and_convert_grammar () at src/reader.c:972
#9 reader (gram=0x20000bc0 "input.y") at src/reader.c:772
#10 0x0804b630 in main (argc=2, argv=0x103cdf4) at src/main.c:118
Configuring with --disable-threads works around this but i think this is another problem with libpthread.
My current hope that this is the only one.
To be continued.
This bug report was last modified 27 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.