NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/52674 CVS commit: src/external/gpl3/gcc/lib/liblto_plugin

The following reply was made to PR lib/52674; it has been noted by GNATS.

From: "Kamil Rytarowski" <>
Subject: PR/52674 CVS commit: src/external/gpl3/gcc/lib/liblto_plugin
Date: Sat, 4 Nov 2017 16:03:12 +0000

 Module Name:	src
 Committed By:	kamil
 Date:		Sat Nov  4 16:03:12 UTC 2017
 Modified Files:
 	src/external/gpl3/gcc/lib/liblto_plugin: Makefile
 Log Message:
 Link liblto_plugin with -liberty (gcc)
 GCC passes in the linker invocation (part of "gcc -v file.c"):
 ld -plugin /usr/libexec/ -plugin-opt=/usr/libexec/lto-wrapper \
 -plugin-opt=-fresolution=/var/tmp//ccxda9Ar.res \
 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc \
 -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s \
 -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -dc -dp -e _start \
 -dynamic-linker /usr/libexec/ld.elf_so /usr/lib/crt0.o /usr/lib/crti.o \
 /usr/lib/crtbegin.o /var/tmp//cc7A7mOK.o --as-needed -lgcc_s --no-as-needed \
 -lgcc -lc --as-needed -lgcc_s --no-as-needed -lgcc /usr/lib/crtend.o \
 When attempting to use GNU GOLD, cannot be used because it \
 has missing symbol xstrerror:
 ld: error: /usr/libexec/ could not load plugin library: \
 /usr/libexec/ Undefined PLT symbol "xstrerror" (symnum = 38)
 From Makefiles and sources inspection, shall be linked with \
 libiberty (-liberty), a utility GNU library for internal usage with helping \
 PR 52674 by myself
 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/lib/liblto_plugin/Makefile
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index