NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/53038: binutils internal error if CFLAGS=-ggdb3 is used.
>Number: 53038
>Category: toolchain
>Synopsis: binutils internal error if CFLAGS=-ggdb3 is used.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 19 17:00:00 +0000 2018
>Originator: coypu
>Release: NetBSD 8.99.12
>Organization:
>Environment:
NetBSD planets 8.99.12 NetBSD 8.99.12 (GENERIC) #0: Thu Feb 8 00:38:03 IST 2018 fly@planets:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Last messages:
# compile accf_dataready/accf_data.o
/home/fly/obj2/tooldir.NetBSD-8.99.12-amd64/bin/x86_64--netbsd-gcc -O2 -ggdb3 -g -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Werror -ffreestanding -fno-strict-aliasing -Wno-pointer-sign -mno-red-zone -mno-mmx -mno-sse -mno-avx -msoft-float -mcmodel=kernel -fno-omit-frame-pointer -I/usr/src/common/include --sysroot=/home/fly/obj2/destdir.amd64 -I/usr/src/common/include -nostdinc -I. -I/usr/src/sys/modules/accf_dataready -isystem /usr/src/sys -isystem /usr/src/sys/arch -isystem /usr/src/sys/../common/include -D_KERNEL -D_LKM -D_MODULE -DSYSCTL_INCLUDE_DESCR -c /usr/src/sys/netinet/accf_data.c
/home/fly/obj2/tooldir.NetBSD-8.99.12-amd64/bin/nbctfconvert -L VERSION accf_data.o
# link accf_dataready/accf_dataready.kmod
/home/fly/obj2/tooldir.NetBSD-8.99.12-amd64/bin/x86_64--netbsd-gcc --sysroot=/home/fly/obj2/destdir.amd64 -Wl,-z,relro -Wl,--warn-shared-textrel -nostdlib -r -Wl,-T,/usr/src/sys/../sys/modules/xldscripts/kmodule,-d -Wl,-Map=accf_dataready.kmod.map -o accf_dataready.kmod accf_data.o
/home/fly/obj2/tooldir.NetBSD-8.99.12-amd64/lib/gcc/x86_64--netbsd/6.4.0/../../../../x86_64--netbsd/bin/ld: BFD (NetBSD Binutils nb1) 2.27 internal error, aborting at /usr/src/tools/binutils/../../external/gpl3/binutils/dist/bfd/elf.c:3475 in bfd_elf_set_group_contents
/home/fly/obj2/tooldir.NetBSD-8.99.12-amd64/lib/gcc/x86_64--netbsd/6.4.0/../../../../x86_64--netbsd/bin/ld: Please report this bug.
collect2: error: ld returned 1 exit status
*** [accf_dataready.kmod] Error code 1
To avoid the error, repeat the above steps in OBJDIR/sys/modules/accf_dataready
- Rebuild accf_data.o, but do not call ctfconvert
- Rebuild accf_data.o, but without -ggdb3
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index