On Fri, Apr 10, 2015 at 09:45:32AM -0400, Richard Kuhns wrote:> Hello, > > I've just updated /usr/src and attempted to buildworld. My last build > was Mar 12 (r279935). The build fails with: > > ===> lib/csu/i386-elf (obj,depend,all,install) > ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32 -o gcrt1.o -r > crt1_s.o gcrt1_c.o > ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32 -o Scrt1.o -r > crt1_s.o Scrt1_c.o > --localize-symbol _start1 Scrt1.o > make[4]: exec(--localize-symbol) failed (No such file or directory) > *** Error code 1 > > Stop. > make[4]: stopped in /usr/src/lib/csu/i386-elf > > It looks like OBJCOPY is undefined. > > My only build-related options in /etc/make.conf are > > > OPTIONS_SET=OPTIMIZED_CFLAGS > OPTIONS_UNSET= NLS BIND > > Thanks for any help. > ....Well... about all I have for you is a set of counter-examples. You didn't mention the revsion level of your source tree or what arch you're using; here are "uname -vp" outputs from some recent successful builds & smoke tests I've done for stable/10: FreeBSD 10.1-STABLE #1 r281140M/281144:1001512: Mon Apr 6 05:28:04 PDT 2015 root at g1-254.catwhisker.org:/common/S2/obj/usr/src/sys/CANARY amd64 FreeBSD 10.1-STABLE #2 r281195M/281199:1001512: Tue Apr 7 05:23:53 PDT 2015 root at g1-254.catwhisker.org:/common/S2/obj/usr/src/sys/CANARY amd64 FreeBSD 10.1-STABLE #3 r281264M/281264:1001512: Wed Apr 8 05:24:16 PDT 2015 root at g1-254.catwhisker.org:/common/S2/obj/usr/src/sys/CANARY amd64 FreeBSD 10.1-STABLE #4 r281305M/281308:1001512: Thu Apr 9 04:36:46 PDT 2015 root at g1-254.catwhisker.org:/common/S2/obj/usr/src/sys/CANARY amd64 FreeBSD 10.1-STABLE #5 r281350M/281366:1001512: Fri Apr 10 06:01:05 PDT 2015 root at g1-254.catwhisker.org:/common/S2/obj/usr/src/sys/CANARY amd64 FreeBSD 10.1-STABLE #28 r281140M/281144:1001512: Mon Apr 6 04:19:31 PDT 2015 root at g1-254.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY i386 FreeBSD 10.1-STABLE #29 r281195M/281199:1001512: Tue Apr 7 04:25:29 PDT 2015 root at g1-254.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY i386 FreeBSD 10.1-STABLE #30 r281264M/281264:1001512: Wed Apr 8 04:27:16 PDT 2015 root at g1-254.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY i386 FreeBSD 10.1-STABLE #31 r281305M/281308:1001512: Thu Apr 9 05:15:41 PDT 2015 root at g1-254.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY i386 FreeBSD 10.1-STABLE #32 r281350M/281366:1001512: Fri Apr 10 04:19:40 PDT 2015 root at g1-254.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY i386 FreeBSD 10.1-STABLE #1693 r277379M/277379:1001506: Mon Jan 19 05:17:01 PST 2015 root at freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/GENERIC i386 FreeBSD 10.1-STABLE #1694 r277409M/277417:1001506: Tue Jan 20 05:29:44 PST 2015 root at freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/GENERIC i386 FreeBSD 10.1-STABLE #1695 r277483M/277484:1001506: Wed Jan 21 04:46:49 PST 2015 root at freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/GENERIC i386 FreeBSD 10.1-STABLE #1696 r277526M/277528:1001506: Thu Jan 22 05:21:01 PST 2015 root at freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/GENERIC i386 FreeBSD 10.1-STABLE #1697 r277558M/277561:1001506: Fri Jan 23 04:47:46 PST 2015 root at freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/GENERIC i386 You may see <http://www.catwhisker.org/~david/FreeBSD/history/> for additional details. Peace, david -- David H. Wolfskill david at catwhisker.org Those who murder in the name of God or prophet are blasphemous cowards. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 949 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150410/6d42e022/attachment.sig>
I am having the same problem! ... make[4]: exec(--localize-symbol) failed (No such file or directory) and it?s because OBJCOPY is not defined, older stuff shows objcopy ?, and now it?s ${OBJCOPY} cheers, danny> On Apr 10, 2015, at 5:55 PM, David Wolfskill <david at catwhisker.org> wrote: > > On Fri, Apr 10, 2015 at 09:45:32AM -0400, Richard Kuhns wrote: >> Hello, >> >> I've just updated /usr/src and attempted to buildworld. My last build >> was Mar 12 (r279935). The build fails with: >> >> ===> lib/csu/i386-elf (obj,depend,all,install) >> ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32 -o gcrt1.o -r >> crt1_s.o gcrt1_c.o >> ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32 -o Scrt1.o -r >> crt1_s.o Scrt1_c.o >> --localize-symbol _start1 Scrt1.o >> make[4]: exec(--localize-symbol) failed (No such file or directory) >> *** Error code 1 >> >> Stop. >> make[4]: stopped in /usr/src/lib/csu/i386-elf >> >> It looks like OBJCOPY is undefined. >> >> My only build-related options in /etc/make.conf are >> >> >> OPTIONS_SET=OPTIMIZED_CFLAGS >> OPTIONS_UNSET= NLS BIND >> >> Thanks for any help. >> .... > > Well... about all I have for you is a set of counter-examples. > > You didn't mention the revsion level of your source tree or what arch > you're using; here are "uname -vp" outputs from some recent successful > builds & smoke tests I've done for stable/10: > > FreeBSD 10.1-STABLE #1 r281140M/281144:1001512: Mon Apr 6 05:28:04 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S2/obj/usr/src/sys/CANARY amd64 > FreeBSD 10.1-STABLE #2 r281195M/281199:1001512: Tue Apr 7 05:23:53 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S2/obj/usr/src/sys/CANARY amd64 > FreeBSD 10.1-STABLE #3 r281264M/281264:1001512: Wed Apr 8 05:24:16 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S2/obj/usr/src/sys/CANARY amd64 > FreeBSD 10.1-STABLE #4 r281305M/281308:1001512: Thu Apr 9 04:36:46 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S2/obj/usr/src/sys/CANARY amd64 > FreeBSD 10.1-STABLE #5 r281350M/281366:1001512: Fri Apr 10 06:01:05 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S2/obj/usr/src/sys/CANARY amd64 > > FreeBSD 10.1-STABLE #28 r281140M/281144:1001512: Mon Apr 6 04:19:31 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S1/obj/usr/src/sys/CANARY i386 > FreeBSD 10.1-STABLE #29 r281195M/281199:1001512: Tue Apr 7 04:25:29 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S1/obj/usr/src/sys/CANARY i386 > FreeBSD 10.1-STABLE #30 r281264M/281264:1001512: Wed Apr 8 04:27:16 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S1/obj/usr/src/sys/CANARY i386 > FreeBSD 10.1-STABLE #31 r281305M/281308:1001512: Thu Apr 9 05:15:41 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S1/obj/usr/src/sys/CANARY i386 > FreeBSD 10.1-STABLE #32 r281350M/281366:1001512: Fri Apr 10 04:19:40 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S1/obj/usr/src/sys/CANARY i386 > > FreeBSD 10.1-STABLE #1693 r277379M/277379:1001506: Mon Jan 19 05:17:01 PST 2015 root at freebeast.catwhisker.org <mailto:root at freebeast.catwhisker.org>:/common/S1/obj/usr/src/sys/GENERIC i386 > FreeBSD 10.1-STABLE #1694 r277409M/277417:1001506: Tue Jan 20 05:29:44 PST 2015 root at freebeast.catwhisker.org <mailto:root at freebeast.catwhisker.org>:/common/S1/obj/usr/src/sys/GENERIC i386 > FreeBSD 10.1-STABLE #1695 r277483M/277484:1001506: Wed Jan 21 04:46:49 PST 2015 root at freebeast.catwhisker.org <mailto:root at freebeast.catwhisker.org>:/common/S1/obj/usr/src/sys/GENERIC i386 > FreeBSD 10.1-STABLE #1696 r277526M/277528:1001506: Thu Jan 22 05:21:01 PST 2015 root at freebeast.catwhisker.org <mailto:root at freebeast.catwhisker.org>:/common/S1/obj/usr/src/sys/GENERIC i386 > FreeBSD 10.1-STABLE #1697 r277558M/277561:1001506: Fri Jan 23 04:47:46 PST 2015 root at freebeast.catwhisker.org <mailto:root at freebeast.catwhisker.org>:/common/S1/obj/usr/src/sys/GENERIC i386 > > You may see <http://www.catwhisker.org/~david/FreeBSD/history/ <http://www.catwhisker.org/~david/FreeBSD/history/>> for > additional details. > > Peace, > david > -- > David H. Wolfskill david at catwhisker.org <mailto:david at catwhisker.org> > Those who murder in the name of God or prophet are blasphemous cowards. > > See http://www.catwhisker.org/~david/publickey.gpg <http://www.catwhisker.org/~david/publickey.gpg> for my public key.
> On Apr 10, 2015, at 5:55 PM, David Wolfskill <david at catwhisker.org> wrote: > > On Fri, Apr 10, 2015 at 09:45:32AM -0400, Richard Kuhns wrote: >> Hello, >> >> I've just updated /usr/src and attempted to buildworld. My last build >> was Mar 12 (r279935). The build fails with: >> >> ===> lib/csu/i386-elf (obj,depend,all,install) >> ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32 -o gcrt1.o -r >> crt1_s.o gcrt1_c.o >> ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32 -o Scrt1.o -r >> crt1_s.o Scrt1_c.o >> --localize-symbol _start1 Scrt1.o >> make[4]: exec(--localize-symbol) failed (No such file or directory) >> *** Error code 1 >> >> Stop. >> make[4]: stopped in /usr/src/lib/csu/i386-elf >> >> It looks like OBJCOPY is undefined. >> >> My only build-related options in /etc/make.conf are >> >> >> OPTIONS_SET=OPTIMIZED_CFLAGS >> OPTIONS_UNSET= NLS BIND >> >> Thanks for any help. >> .... > > Well... about all I have for you is a set of counter-examples. > > You didn't mention the revsion level of your source tree or what arch > you're using; here are "uname -vp" outputs from some recent successful > builds & smoke tests I've done for stable/10:the host is running 10.1-stable r281013 and danny at joker:/usr/src % svn info Path: . Working Copy Root Path: /usr/src URL: https://svn0.eu.freebsd.org/base/stable/10 Relative URL: ^/stable/10 Repository Root: https://svn0.eu.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 281366 Node Kind: directory Schedule: normal Last Changed Author: kib Last Changed Rev: 281350 Last Changed Date: 2015-04-10 05:23:44 +0300 (Fri, 10 Apr 2015)> > FreeBSD 10.1-STABLE #1 r281140M/281144:1001512: Mon Apr 6 05:28:04 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S2/obj/usr/src/sys/CANARY amd64 > FreeBSD 10.1-STABLE #2 r281195M/281199:1001512: Tue Apr 7 05:23:53 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S2/obj/usr/src/sys/CANARY amd64 > FreeBSD 10.1-STABLE #3 r281264M/281264:1001512: Wed Apr 8 05:24:16 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S2/obj/usr/src/sys/CANARY amd64 > FreeBSD 10.1-STABLE #4 r281305M/281308:1001512: Thu Apr 9 04:36:46 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S2/obj/usr/src/sys/CANARY amd64 > FreeBSD 10.1-STABLE #5 r281350M/281366:1001512: Fri Apr 10 06:01:05 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S2/obj/usr/src/sys/CANARY amd64 > > FreeBSD 10.1-STABLE #28 r281140M/281144:1001512: Mon Apr 6 04:19:31 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S1/obj/usr/src/sys/CANARY i386 > FreeBSD 10.1-STABLE #29 r281195M/281199:1001512: Tue Apr 7 04:25:29 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S1/obj/usr/src/sys/CANARY i386 > FreeBSD 10.1-STABLE #30 r281264M/281264:1001512: Wed Apr 8 04:27:16 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S1/obj/usr/src/sys/CANARY i386 > FreeBSD 10.1-STABLE #31 r281305M/281308:1001512: Thu Apr 9 05:15:41 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S1/obj/usr/src/sys/CANARY i386 > FreeBSD 10.1-STABLE #32 r281350M/281366:1001512: Fri Apr 10 04:19:40 PDT 2015 root at g1-254.catwhisker.org <mailto:root at g1-254.catwhisker.org>:/common/S1/obj/usr/src/sys/CANARY i386 > > FreeBSD 10.1-STABLE #1693 r277379M/277379:1001506: Mon Jan 19 05:17:01 PST 2015 root at freebeast.catwhisker.org <mailto:root at freebeast.catwhisker.org>:/common/S1/obj/usr/src/sys/GENERIC i386 > FreeBSD 10.1-STABLE #1694 r277409M/277417:1001506: Tue Jan 20 05:29:44 PST 2015 root at freebeast.catwhisker.org <mailto:root at freebeast.catwhisker.org>:/common/S1/obj/usr/src/sys/GENERIC i386 > FreeBSD 10.1-STABLE #1695 r277483M/277484:1001506: Wed Jan 21 04:46:49 PST 2015 root at freebeast.catwhisker.org <mailto:root at freebeast.catwhisker.org>:/common/S1/obj/usr/src/sys/GENERIC i386 > FreeBSD 10.1-STABLE #1696 r277526M/277528:1001506: Thu Jan 22 05:21:01 PST 2015 root at freebeast.catwhisker.org <mailto:root at freebeast.catwhisker.org>:/common/S1/obj/usr/src/sys/GENERIC i386 > FreeBSD 10.1-STABLE #1697 r277558M/277561:1001506: Fri Jan 23 04:47:46 PST 2015 root at freebeast.catwhisker.org <mailto:root at freebeast.catwhisker.org>:/common/S1/obj/usr/src/sys/GENERIC i386 > > You may see <http://www.catwhisker.org/~david/FreeBSD/history/ <http://www.catwhisker.org/~david/FreeBSD/history/>> for > additional details. > > Peace, > david > -- > David H. Wolfskill david at catwhisker.org <mailto:david at catwhisker.org> > Those who murder in the name of God or prophet are blasphemous cowards. > > See http://www.catwhisker.org/~david/publickey.gpg <http://www.catwhisker.org/~david/publickey.gpg> for my public key.