Add --enable-gold
in tools/binutils/Makefile
:
1
2
3
4
5
6
7
8
9
10
11
12
|
diff --git a/tools/binutils/Makefile b/tools/binutils/Makefile
index 45d71431395..a4677c102d0 100644
--- a/tools/binutils/Makefile
+++ b/tools/binutils/Makefile
@@ -14,6 +14,7 @@ BRANDING?= \
CONFIGURE_ARGS= --target=${MACHINE_GNU_PLATFORM} --disable-nls \
--program-transform-name="s,^,${MACHINE_GNU_PLATFORM}-," \
--disable-werror --disable-initfini-array \
+ --enable-gold \
${BRANDING}
build/gas/m68k-parse.c: ${GNUHOSTDIST}/gas/m68k-parse.c
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
./build.sh -m amd64 -T ../tools/ -O ../obj.amd64/ -D ../dest.amd64/ -R ../rel.amd64/ -u -U -j1 tools
...
install ===> binutils
/usr/bin/sh /home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/mkinstalldirs /home/wsh/qc/netbsd/src/../tools /home/wsh/qc/netbsd/src/../tools
/home/wsh/qc/netbsd/src/../tools/bin/nbmake -f /home/wsh/qc/netbsd/src/tools/binutils/../Makefile.gnuwrap install-recursive
Making install in doc
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -d -p '/home/wsh/qc/netbsd/src/../tools/share/info'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 /home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfd.info '/home/wsh/qc/netbsd/src/../tools/share/info'
install-info --info-dir='/home/wsh/qc/netbsd/src/../tools/share/info' '/home/wsh/qc/netbsd/src/../tools/share/info/bfd.info'
Making install in po
Making install in .
Making install in po
/home/wsh/qc/netbsd/src/../tools/bin/nbmake -f /home/wsh/qc/netbsd/src/tools/binutils/../Makefile.gnuwrap install-recursive
Making install in doc
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -d -p '/home/wsh/qc/netbsd/src/../tools/share/info'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 /home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/binutils.info '/home/wsh/qc/netbsd/src/../tools/share/info'
install-info --info-dir='/home/wsh/qc/netbsd/src/../tools/share/info' '/home/wsh/qc/netbsd/src/../tools/share/info/binutils.info'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -d -p '/home/wsh/qc/netbsd/src/../tools/share/man/man1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/addr2line.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-addr2line.1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/ar.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-ar.1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/dlltool.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-dlltool.1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/nm.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-nm.1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/objcopy.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-objcopy.1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/objdump.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-objdump.1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/ranlib.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-ranlib.1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/readelf.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-readelf.1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/size.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-size.1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/strings.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-strings.1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/strip.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-strip.1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/elfedit.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-elfedit.1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/windres.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-windres.1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/windmc.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-windmc.1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 'c++filt.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-c++filt.1'
Making install in po
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -d -p '/home/wsh/qc/netbsd/src/../tools/bin'
/usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r size '/home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-size'
libtool: install: /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r size /home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-size
/usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r objdump '/home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-objdump'
libtool: install: /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r objdump /home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-objdump
/usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r ar '/home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-ar'
libtool: install: /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r ar /home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-ar
/usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r strings '/home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-strings'
libtool: install: /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r strings /home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-strings
/usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r ranlib '/home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-ranlib'
libtool: install: /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r ranlib /home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-ranlib
/usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r objcopy '/home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-objcopy'
libtool: install: /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r objcopy /home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-objcopy
/usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r addr2line '/home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-addr2line'
libtool: install: /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r addr2line /home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-addr2line
/usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r readelf '/home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-readelf'
libtool: install: /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r readelf /home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-readelf
/usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r elfedit '/home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-elfedit'
libtool: install: /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r elfedit /home/wsh/qc/netbsd/src/../tools/bin/./x86_64--netbsd-elfedit
/usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r nm-new /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-nm
libtool: install: /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r nm-new /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-nm
/usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r strip-new /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-strip
libtool: install: /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r strip-new /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-strip
/usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r cxxfilt /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-c++filt
libtool: install: /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r cxxfilt /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-c++filt
/usr/bin/sh /home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/../mkinstalldirs /home/wsh/qc/netbsd/src/../tools/x86_64--netbsd/bin
for i in nm-new strip-new ar ranlib dlltool objdump objcopy readelf; do if [ -f $i ]; then j=`echo $i | sed -e 's/-new//'`; k=`echo $j | sed 's,^,x86_64--netbsd-,'`; if [ "/home/wsh/qc/netbsd/src/../tools/bin/$k" != "/home/wsh/qc/netbsd/src/../tools/x86_64--netbsd/bin/$j" ]; then rm -f /home/wsh/qc/netbsd/src/../tools/x86_64--netbsd/bin/$j; ln /home/wsh/qc/netbsd/src/../tools/bin/$k /home/wsh/qc/netbsd/src/../tools/x86_64--netbsd/bin/$j >/dev/null 2>/dev/null || /usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r $i /home/wsh/qc/netbsd/src/../tools/x86_64--netbsd/bin/$j; fi; else true; fi; done
Making install in doc
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -d -p '/home/wsh/qc/netbsd/src/../tools/share/info'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 /home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/gas/doc/as.info '/home/wsh/qc/netbsd/src/../tools/share/info'
install-info --info-dir='/home/wsh/qc/netbsd/src/../tools/share/info' '/home/wsh/qc/netbsd/src/../tools/share/info/as.info'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -d -p '/home/wsh/qc/netbsd/src/../tools/share/man/man1'
/home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r -m 644 '/home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/gas/doc/as.1' '/home/wsh/qc/netbsd/src/../tools/share/man/man1/x86_64--netbsd-as.1'
Making install in po
/usr/bin/sh /home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/gas/../mkinstalldirs /home/wsh/qc/netbsd/src/../tools/bin
/usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r as-new /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-as
libtool: install: /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r as-new /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-as
/usr/bin/sh /home/wsh/qc/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/gas/../mkinstalldirs /home/wsh/qc/netbsd/src/../tools/x86_64--netbsd/bin
n=`echo as | sed 's,^,x86_64--netbsd-,'`; if [ "/home/wsh/qc/netbsd/src/../tools/bin/$n" != "/home/wsh/qc/netbsd/src/../tools/x86_64--netbsd/bin/as" ]; then rm -f /home/wsh/qc/netbsd/src/../tools/x86_64--netbsd/bin/as; ln /home/wsh/qc/netbsd/src/../tools/bin/$n /home/wsh/qc/netbsd/src/../tools/x86_64--netbsd/bin/as >/dev/null 2>/dev/null || /usr/bin/sh ./libtool --mode=install /home/wsh/qc/netbsd/src/../tools/bin/x86_64--netbsd-install -c -p -r as-new /home/wsh/qc/netbsd/src/../tools/x86_64--netbsd/bin/as; else true ; fi
/usr/bin/sh: 1: cd: can't cd to ./gold
*** Failed target: install-gold
|
aborted