Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/libexec/ld.elf_so
Hi,
On 2018/12/28 3:58, Christos Zoulas wrote:
Module Name: src
Committed By: christos
Date: Thu Dec 27 18:58:14 UTC 2018
Modified Files:
src/libexec/ld.elf_so: Makefile
src/libexec/ld.elf_so/arch/aarch64: Makefile.inc
src/libexec/ld.elf_so/arch/arm: Makefile.inc
src/libexec/ld.elf_so/arch/riscv: Makefile.inc
Log Message:
initfini array support for everyone.
To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/libexec/ld.elf_so/Makefile
cvs rdiff -u -r1.1 -r1.2 src/libexec/ld.elf_so/arch/aarch64/Makefile.inc
cvs rdiff -u -r1.21 -r1.22 src/libexec/ld.elf_so/arch/arm/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 src/libexec/ld.elf_so/arch/riscv/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
This breaks GCC on m68k; gcc and g++ receive SIGSEGV when compiling
hello.c. Please find a backtrace of cc1plus below (cc1 does not dump
a core). The problem does not occur if initfini array support is
disabled for libexec/ld.elf_so and lib/csu. Thoughts?
Thanks,
rin
----
# g++ hello.c
g++: internal compiler error: Segmentation fault (program cc1plus received signal 11)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
# ls *.core
cc1plus.core
# gdb /usr/libexec/cc1plus cc1plus.core
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "m68k--netbsdelf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/libexec/cc1plus...Reading symbols from /usr/libdata/debug//usr/libexec/cc1plus.debug...done.
done.
[New process 1]
warning: Error reading shared library list entry at 0x4
warning: Error reading shared library list entry at 0x74843b1e
Core was generated by `cc1plus'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x008b4390 in va_heap::release<(anonymous namespace)::line_span> (
v=@0xbc2f88: 0x0)
at /var/build/src/external/gpl3/gcc.old/dist/gcc/vec.h:307
307 ::free (v);
(gdb) bt
#0 0x008b4390 in va_heap::release<(anonymous namespace)::line_span> (
v=@0xbc2f88: 0x0)
at /var/build/src/external/gpl3/gcc.old/dist/gcc/vec.h:307
#1 vec<(anonymous namespace)::line_span, va_heap, vl_ptr>::release (
this=0xbc2f88 <operator_name_info+2380>)
at /var/build/src/external/gpl3/gcc.old/dist/gcc/vec.h:1460
#2 0x00111368 in init_operators ()
at /var/build/src/external/gpl3/gcc.old/dist/gcc/cp/operators.def:142
#3 cxx_init () at /var/build/src/external/gpl3/gcc.old/dist/gcc/cp/lex.c:248
#4 0x0017f518 in build_vec_init_elt (type=0xf100d80, init=0x2, complain=1)
at /var/build/src/external/gpl3/gcc.old/dist/gcc/cp/tree.c:561
#5 0x0018099c in gt_ggc_mx<cxx_int_tree_map_hasher> (h=0x1dffee84,
h=0x1dffee84)
at /var/build/src/external/gpl3/gcc.old/dist/gcc/hash-table.h:1020
#6 gt_ggc_mx_hash_table_cxx_int_tree_map_hasher_ (x_p=0xf100d80)
at /var/build/src/external/gpl3/gcc.old/usr.bin/backend/obj.amiga-m68k/gt-cp-tree.h:78
#7 0x0010f894 in language_to_string (c=<optimized out>)
at /var/build/src/external/gpl3/gcc.old/dist/gcc/cp/error.c:3013
#8 cp_printer (pp=0xbfb510, text=0x1dffef04, spec=0x0, precision=255926280,
wide=4, set_locus=10, verbose=196)
at /var/build/src/external/gpl3/gcc.old/dist/gcc/cp/error.c:3562
#9 0x008b8df6 in hash_pointer (p=0xbfb510)
at /var/build/src/external/gpl3/gcc.old/dist/libiberty/hashtab.c:996
#10 0x008b98e4 in htab_collisions (htab=0xa49adc)
at /var/build/src/external/gpl3/gcc.old/dist/libiberty/hashtab.c:804
#11 0x002f6b32 in go_define (lineno=<optimized out>, buffer=<optimized out>)
at /var/build/src/external/gpl3/gcc.old/dist/gcc/godump.c:283
#12 0x0ed57084 in ?? ()
#13 0x0000000b in ?? ()
#14 0x1dffef98 in ?? ()
#15 0x1dfff018 in ?? ()
#16 0x0000000b in ?? ()
#17 0x00000001 in ?? ()
#18 0x00000000 in ?? ()
(gdb) q
#
Home |
Main Index |
Thread Index |
Old Index