From owner-svn-src-head@freebsd.org Fri Jul 3 21:52:59 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2854D35AA4D; Fri, 3 Jul 2020 21:52:59 +0000 (UTC) (envelope-from ktullavik@gmail.com) Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49z7xQ1Jw3z3YGF; Fri, 3 Jul 2020 21:52:57 +0000 (UTC) (envelope-from ktullavik@gmail.com) Received: by mail-lj1-x241.google.com with SMTP id f5so22695001ljj.10; Fri, 03 Jul 2020 14:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=/zOKhtEVa7xqG6QUdWwxz04dW0Lijj11MZpb4f0NE5o=; b=C0ri/0IJlMt8uRb70+l/KSyVGUlt1MZMAl03VHoYm98llw9IFRg7ClKoPPIWewoo6H leJHhrNbHi2Zg/EE9qa2/ZfVIiSqy2hs5jFXaavn3FdwXLJRleKgJlWWZ3Cwhk7OhTSe 1aWkulxe2oVhTVAIG5OXsW9jIyLhI7v4hLxjjziBOMD0lQtK/BpbU+uBXiPEWkvamNhN UarYoAlw4eQZl+EaUFGtGdW1n5XMv4qGWxOJH+f1Ia/ZkxJH+KSCb6WeureV3fupOUb0 y0AhzG0rZuer+yuwzICDO5ifSvEIyWrSD3pzVTm588UcjIAPZ4jXHOKdeuEb0grS1KQ6 lepw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=/zOKhtEVa7xqG6QUdWwxz04dW0Lijj11MZpb4f0NE5o=; b=WMC8Ran7+Vzop4JctOE0hErX8zaiS8Y6F3VPeC2MhWmt0CR8mosU+jBiTdu0jPAXnP OrF2mn0EEAl0C1zS6Vtoffxl8fxmbshGmkNsWWA5Bia9GCPqPFv9L03y56RaXsPfrbwq l+O4dcHMqT5CRlxh4AnawBoHRjITl1dEqhvhxB6Ko9UlGY1VKur0TD9wnzr8uQnzZ96u xp8gcUjcEoyI/CgaYWsynqPHz29mMs1sNG94T5y7Am6IqKm6oSmfA4JKs2gELREf5qYW S8g5ll+lPcoIMZc55KluKNu7UQPgGTzEX0D4TAqbDyVtztTtLdgTTiluWI6uXsW3f2CJ G5VA== X-Gm-Message-State: AOAM533LA0FyFqnwyoU7Z/ykffzgHVZ8dzmNt2brhlDHRPj4IOz35T9c n/PeZ2Kn4iyTCPOHIGWvlHJnMgT1OtWY2g== X-Google-Smtp-Source: ABdhPJzaK0WUABBfNP/fqOhn0KRrM9x+7prhW96H3x7TxzurucbMf7AkBh9ORCh4ekMmhQEov40R5A== X-Received: by 2002:a05:651c:1105:: with SMTP id d5mr9038422ljo.62.1593813174492; Fri, 03 Jul 2020 14:52:54 -0700 (PDT) Received: from [10.0.0.11] (cm-84.208.206.179.getinternet.no. [84.208.206.179]) by smtp.gmail.com with ESMTPSA id l4sm778048ljc.83.2020.07.03.14.52.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Jul 2020 14:52:54 -0700 (PDT) Subject: Re: svn commit: r362902 - in head/lib/csu: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv To: John Baldwin , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <202007030009.06309gcC099579@repo.freebsd.org> From: Kjell Tore Ullavik Message-ID: <7b140e64-ba4d-d76e-29a4-d0587f7351a0@gmail.com> Date: Fri, 3 Jul 2020 23:46:45 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <202007030009.06309gcC099579@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 49z7xQ1Jw3z3YGF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=C0ri/0IJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ktullavik@gmail.com designates 2a00:1450:4864:20::241 as permitted sender) smtp.mailfrom=ktullavik@gmail.com X-Spamd-Result: default: False [-2.14 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.96)[-0.956]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; NEURAL_HAM_LONG(-1.00)[-0.995]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.81)[0.814]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::241:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2020 21:52:59 -0000 Got a buildworld error for CURRENT, amd64 today. I have not rebuilt in while, but maybe r362902 is related? I'm at r362906 sh /usr/src/tools/install.sh  -C -o root -g wheel -m 444 libgcc_eh.a /usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/ ===> lib/libgcc_s (obj,all,install) ===> lib/csu (obj,all,install) ===> lib/csu/i386 (all) cc -DCOMPAT_32BIT -march=i686 -mmmx -msse -msse2 -target x86_64-unknown-freebsd13.0 -m32 -L/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32 --sysroot=/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -B/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32 -O2 -pipe -fno-common -I/usr/src/lib/csu/i386 -DCRT_IRELOC_REL -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/src/lib/csu/common  -I/usr/src/lib/libc/include -g -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/10.0.0/include  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments    -fPIC -DPIC -c -o Scrt1_c.o /usr/src/lib/csu/i386/crt1_c.c cc -DCOMPAT_32BIT -march=i686 -mmmx -msse -msse2 -target x86_64-unknown-freebsd13.0 -m32 -L/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32 --sysroot=/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -B/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32 -O2 -pipe -fno-common -I/usr/src/lib/csu/i386 -DCRT_IRELOC_REL -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/src/lib/csu/common  -I/usr/src/lib/libc/include -g -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/10.0.0/include  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments     -DLOCORE   -c /usr/src/lib/csu/i386/crt1_s.S -o crt1_s.o cc -DCOMPAT_32BIT -march=i686 -mmmx -msse -msse2 -target x86_64-unknown-freebsd13.0 -m32 -L/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32 --sysroot=/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -B/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32 -O2 -pipe -fno-common -I/usr/src/lib/csu/i386 -DCRT_IRELOC_REL -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/src/lib/csu/common  -I/usr/src/lib/libc/include -g -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/10.0.0/include  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments     -DLOCORE   -c /usr/src/lib/csu/common/crtbrand.S -o crtbrand.o cc -DCOMPAT_32BIT -march=i686 -mmmx -msse -msse2 -target x86_64-unknown-freebsd13.0 -m32 -L/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32 --sysroot=/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -B/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32 -O2 -pipe -fno-common -I/usr/src/lib/csu/i386 -DCRT_IRELOC_REL -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/src/lib/csu/common  -I/usr/src/lib/libc/include -g -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/10.0.0/include  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments     -DLOCORE   -c /usr/src/lib/csu/common/ignore_init_note.S -o ignore_init_note.o ld -m elf_i386_fbsd -L/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32  -o Scrt1.o -r Scrt1_c.o crt1_s.o crtbrand.o ignore_init_note.o objcopy --localize-symbol _start1 crt1.o objcopy: open crt1.o failed: No such file or directory *** Error code 1 Stop. make[5]: stopped in /usr/src/lib/csu/i386 *** Error code 1 Stop. make[4]: stopped in /usr/src/lib/csu *** Error code 1 Stop. make[3]: stopped in /usr/src *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src -------- src.conf -------- KERNCONF=GALOIS WITHOUT_ATM= WITHOUT_BSDINSTALL= WITHOUT_CROSS_COMPILER= WITHOUT_CTM= WITHOUT_DICT= WITHOUT_EE= WITHOUT_FINGER= WITHOUT_FLOPPY= WITHOUT_FREEBSD_UPDATE= WITHOUT_GAMES= WITHOUT_HAST= WITHOUT_HTML= WITHOUT_HYPERV= WITHOUT_IPFILTER= WITHOUT_MAIL= WITHOUT_NDIS= WITHOUT_PF= WITHOUT_SVNLITE= WITHOUT_TALK= WITHOUT_TESTS= WITHOUT_UNBOUND= ------ make.conf ------ MALLOC_PRODUCTION= On 03.07.2020 02:09, John Baldwin wrote: > Author: jhb > Date: Fri Jul 3 00:09:41 2020 > New Revision: 362902 > URL: https://svnweb.freebsd.org/changeset/base/362902 > > Log: > Consolidate duplicated logic in csu Makefiles to lib/csu/Makefile.inc. > > Reviewed by: kib > Sponsored by: DARPA > Differential Revision: https://reviews.freebsd.org/D25537 > > Modified: > head/lib/csu/Makefile.inc > head/lib/csu/aarch64/Makefile > head/lib/csu/amd64/Makefile > head/lib/csu/arm/Makefile > head/lib/csu/i386/Makefile > head/lib/csu/mips/Makefile > head/lib/csu/powerpc/Makefile > head/lib/csu/powerpc64/Makefile > head/lib/csu/riscv/Makefile > > Modified: head/lib/csu/Makefile.inc > ============================================================================== > --- head/lib/csu/Makefile.inc Thu Jul 2 22:59:05 2020 (r362901) > +++ head/lib/csu/Makefile.inc Fri Jul 3 00:09:41 2020 (r362902) > @@ -8,15 +8,52 @@ NO_WMISSING_VARIABLE_DECLARATIONS= > > .if !defined(BUILDING_TESTS) > > +OBJS+= Scrt1.o crt1.o gcrt1.o > OBJS+= crtbegin.o crtbeginS.o crtbeginT.o > OBJS+= crtend.o crtendS.o > +OBJS+= crti.o crtn.o > > +CRT1OBJS+= crtbrand.o ignore_init_note.o > + > ACFLAGS+= -DLOCORE > > CFLAGS+= -fno-asynchronous-unwind-tables > CFLAGS+= -fno-omit-frame-pointer > +CFLAGS+= -I${.CURDIR:H}/common \ > + -I${SRCTOP}/lib/libc/include > > CFLAGS_CRTS= -DSHARED ${PICFLAG} > + > +FILES= ${OBJS} > +FILESMODE= ${LIBMODE} > +FILESOWN= ${LIBOWN} > +FILESGRP= ${LIBGRP} > +FILESDIR= ${LIBDIR} > +# These FILES qualify as libraries for the purpose of LIBRARIES_ONLY. > +.undef LIBRARIES_ONLY > + > +CLEANFILES+= ${OBJS} ${CRT1OBJS} crt1_c.o gcrt1_c.o Scrt1_c.o > + > +crt1.o: crt1_c.o ${CRT1OBJS} > + ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > +.if ${MACHINE_ARCH} == "i386" > + ${OBJCOPY} --localize-symbol _start1 crt1.o > +.endif > + > +gcrt1_c.o: crt1_c.c > + ${CC} ${CFLAGS} -DGCRT -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > + > +gcrt1.o: gcrt1_c.o ${CRT1OBJS} > + ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > + > +Scrt1_c.o: crt1_c.c > + ${CC} ${CFLAGS} -fPIC -DPIC -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > + > +Scrt1.o: Scrt1_c.o ${CRT1OBJS} > + ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > +.if ${MACHINE_ARCH} == "i386" > + ${OBJCOPY} --localize-symbol _start1 crt1.o > +.endif > > crtbegin.o: crtbegin.c > crtbeginS.o: crtbegin.c > > Modified: head/lib/csu/aarch64/Makefile > ============================================================================== > --- head/lib/csu/aarch64/Makefile Thu Jul 2 22:59:05 2020 (r362901) > +++ head/lib/csu/aarch64/Makefile Fri Jul 3 00:09:41 2020 (r362902) > @@ -2,37 +2,8 @@ > > .PATH: ${.CURDIR:H}/common > > -SRCS= crti.S crtn.S > -OBJS= ${SRCS:N*.h:R:S/$/.o/g} > -OBJS+= Scrt1.o crt1.o gcrt1.o > -CFLAGS+= -I${.CURDIR:H}/common \ > - -I${SRCTOP}/lib/libc/include > CFLAGS+= -DCRT_IRELOC_SUPPRESS > > -FILES= ${OBJS} > -FILESMODE= ${LIBMODE} > -FILESOWN= ${LIBOWN} > -FILESGRP= ${LIBGRP} > -FILESDIR= ${LIBDIR} > -# These FILES qualify as libraries for the purpose of LIBRARIES_ONLY. > -.undef LIBRARIES_ONLY > - > -CLEANFILES= ${OBJS} crt1_c.o crt1_s.o gcrt1_c.o Scrt1_c.o > -CLEANFILES+= crtbrand.o ignore_init_note.o > - > -gcrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -DGCRT -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -gcrt1.o: gcrt1_c.o crt1_s.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > - > -crt1.o: crt1_c.o crt1_s.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > - > -Scrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -fPIC -DPIC -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -Scrt1.o: Scrt1_c.o crt1_s.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > +CRT1OBJS+= crt1_s.o > > .include > > Modified: head/lib/csu/amd64/Makefile > ============================================================================== > --- head/lib/csu/amd64/Makefile Thu Jul 2 22:59:05 2020 (r362901) > +++ head/lib/csu/amd64/Makefile Fri Jul 3 00:09:41 2020 (r362902) > @@ -2,37 +2,7 @@ > > .PATH: ${.CURDIR:H}/common > > -SRCS= crti.S crtn.S > -OBJS= ${SRCS:N*.h:R:S/$/.o/g} > -OBJS+= Scrt1.o crt1.o gcrt1.o > -CFLAGS+= -I${.CURDIR} -I${.CURDIR:H}/common \ > - -I${SRCTOP}/lib/libc/include > +CFLAGS+= -I${.CURDIR} > CFLAGS+= -fno-omit-frame-pointer -DCRT_IRELOC_RELA > - > -FILES= ${OBJS} > -FILESMODE= ${LIBMODE} > -FILESOWN= ${LIBOWN} > -FILESGRP= ${LIBGRP} > -FILESDIR= ${LIBDIR} > -# These FILES qualify as libraries for the purpose of LIBRARIES_ONLY. > -.undef LIBRARIES_ONLY > - > -CLEANFILES= ${OBJS} crt1_c.o gcrt1_c.o Scrt1_c.o > -CLEANFILES+= crtbrand.o ignore_init_note.o > - > -gcrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -DGCRT -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -gcrt1.o: gcrt1_c.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o gcrt1.o -r crtbrand.o ignore_init_note.o gcrt1_c.o > - > -crt1.o: crt1_c.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o crt1.o -r crtbrand.o ignore_init_note.o crt1_c.o > - > -Scrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -fPIC -DPIC -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -Scrt1.o: Scrt1_c.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o Scrt1.o -r crtbrand.o ignore_init_note.o Scrt1_c.o > > .include > > Modified: head/lib/csu/arm/Makefile > ============================================================================== > --- head/lib/csu/arm/Makefile Thu Jul 2 22:59:05 2020 (r362901) > +++ head/lib/csu/arm/Makefile Fri Jul 3 00:09:41 2020 (r362902) > @@ -2,40 +2,8 @@ > > .PATH: ${.CURDIR:H}/common > > -SRCS= crti.S crtn.S > -OBJS= ${SRCS:N*.h:R:S/$/.o/g} > -OBJS+= Scrt1.o crt1.o gcrt1.o > -CFLAGS+= -I${.CURDIR:H}/common \ > - -I${SRCTOP}/lib/libc/include > CFLAGS+= -DCRT_IRELOC_SUPPRESS > > -FILES= ${OBJS} > -FILESMODE= ${LIBMODE} > -FILESOWN= ${LIBOWN} > -FILESGRP= ${LIBGRP} > -FILESDIR= ${LIBDIR} > -# These FILES qualify as libraries for the purpose of LIBRARIES_ONLY. > -.undef LIBRARIES_ONLY > - > -CLEANFILES= ${OBJS} crt1_c.o crt1_s.o gcrt1_c.o Scrt1_c.o > -CLEANFILES+= crtbrand.o ignore_init_note.o > - > -crt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -crt1.o: crt1_c.o crt1_s.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > - > -gcrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -DGCRT -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -gcrt1.o: gcrt1_c.o crt1_s.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > - > -Scrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -fPIC -DPIC -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -Scrt1.o: Scrt1_c.o crt1_s.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > +CRT1OBJS+= crt1_s.o > > .include > > Modified: head/lib/csu/i386/Makefile > ============================================================================== > --- head/lib/csu/i386/Makefile Thu Jul 2 22:59:05 2020 (r362901) > +++ head/lib/csu/i386/Makefile Fri Jul 3 00:09:41 2020 (r362902) > @@ -2,39 +2,9 @@ > > .PATH: ${.CURDIR:H}/common > > -SRCS= crti.S crtn.S > -OBJS= ${SRCS:N*.h:R:S/$/.o/g} > -OBJS+= Scrt1.o crt1.o gcrt1.o > -CFLAGS+= -I${.CURDIR} -I${.CURDIR:H}/common \ > - -I${SRCTOP}/lib/libc/include > +CFLAGS+= -I${.CURDIR} > CFLAGS+= -DCRT_IRELOC_REL > > -FILES= ${OBJS} > -FILESMODE= ${LIBMODE} > -FILESOWN= ${LIBOWN} > -FILESGRP= ${LIBGRP} > -FILESDIR= ${LIBDIR} > -# These FILES qualify as libraries for the purpose of LIBRARIES_ONLY. > -.undef LIBRARIES_ONLY > - > -CLEANFILES= ${OBJS} crt1_c.o crt1_s.o gcrt1_c.o Scrt1_c.o > -CLEANFILES+= crtbrand.o ignore_init_note.o > - > -gcrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -DGCRT -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -gcrt1.o: gcrt1_c.o crt1_s.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > - > -crt1.o: crt1_c.o crt1_s.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > - ${OBJCOPY} --localize-symbol _start1 crt1.o > - > -Scrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -fPIC -DPIC -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -Scrt1.o: Scrt1_c.o crt1_s.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > - ${OBJCOPY} --localize-symbol _start1 Scrt1.o > +CRT1OBJS+= crt1_s.o > > .include > > Modified: head/lib/csu/mips/Makefile > ============================================================================== > --- head/lib/csu/mips/Makefile Thu Jul 2 22:59:05 2020 (r362901) > +++ head/lib/csu/mips/Makefile Fri Jul 3 00:09:41 2020 (r362902) > @@ -2,37 +2,6 @@ > > .PATH: ${.CURDIR:H}/common > > -SRCS= crti.S crtn.S > -OBJS= ${SRCS:N*.h:R:S/$/.o/g} > -OBJS+= Scrt1.o crt1.o gcrt1.o > -CFLAGS+= -I${.CURDIR:H}/common \ > - -I${SRCTOP}/lib/libc/include > CFLAGS+= -DCRT_IRELOC_SUPPRESS > - > -FILES= ${OBJS} > -FILESMODE= ${LIBMODE} > -FILESOWN= ${LIBOWN} > -FILESGRP= ${LIBGRP} > -FILESDIR= ${LIBDIR} > -# These FILES qualify as libraries for the purpose of LIBRARIES_ONLY. > -.undef LIBRARIES_ONLY > - > -CLEANFILES= ${OBJS} crt1_c.o gcrt1_c.o Scrt1_c.o > -CLEANFILES+= crtbrand.o ignore_init_note.o > - > -gcrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -DGCRT -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -gcrt1.o: gcrt1_c.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o gcrt1.o -r crtbrand.o ignore_init_note.o gcrt1_c.o > - > -crt1.o: crt1_c.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o crt1.o -r crtbrand.o ignore_init_note.o crt1_c.o > - > -Scrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -fPIC -DPIC -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -Scrt1.o: Scrt1_c.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o Scrt1.o -r crtbrand.o ignore_init_note.o Scrt1_c.o > > .include > > Modified: head/lib/csu/powerpc/Makefile > ============================================================================== > --- head/lib/csu/powerpc/Makefile Thu Jul 2 22:59:05 2020 (r362901) > +++ head/lib/csu/powerpc/Makefile Fri Jul 3 00:09:41 2020 (r362902) > @@ -2,37 +2,7 @@ > > .PATH: ${.CURDIR:H}/common > > -SRCS= crti.S crtn.S crtsavres.S > -OBJS= ${SRCS:N*.h:R:S/$/.o/g} > -OBJS+= Scrt1.o crt1.o gcrt1.o > -CFLAGS+= -I${.CURDIR:H}/common \ > - -I${SRCTOP}/lib/libc/include > +OBJS+= crtsavres.o > CFLAGS+= -DCRT_IRELOC_SUPPRESS > - > -FILES= ${OBJS} > -FILESMODE= ${LIBMODE} > -FILESOWN= ${LIBOWN} > -FILESGRP= ${LIBGRP} > -FILESDIR= ${LIBDIR} > -# These FILES qualify as libraries for the purpose of LIBRARIES_ONLY. > -.undef LIBRARIES_ONLY > - > -CLEANFILES= ${OBJS} crt1_c.o gcrt1_c.o Scrt1_c.o > -CLEANFILES+= crtbrand.o ignore_init_note.o > - > -gcrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -DGCRT -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -gcrt1.o: gcrt1_c.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o gcrt1.o -r crtbrand.o ignore_init_note.o gcrt1_c.o > - > -crt1.o: crt1_c.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o crt1.o -r crtbrand.o ignore_init_note.o crt1_c.o > - > -Scrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -fPIC -DPIC -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -Scrt1.o: Scrt1_c.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o Scrt1.o -r crtbrand.o ignore_init_note.o Scrt1_c.o > > .include > > Modified: head/lib/csu/powerpc64/Makefile > ============================================================================== > --- head/lib/csu/powerpc64/Makefile Thu Jul 2 22:59:05 2020 (r362901) > +++ head/lib/csu/powerpc64/Makefile Fri Jul 3 00:09:41 2020 (r362902) > @@ -2,42 +2,14 @@ > > .PATH: ${.CURDIR:H}/common > > -SRCS= crti.S crtn.S > -OBJS= ${SRCS:N*.h:R:S/$/.o/g} > -OBJS+= Scrt1.o crt1.o crtsavres.o gcrt1.o > -CFLAGS+= -I${.CURDIR} -I${.CURDIR:H}/common \ > - -I${SRCTOP}/lib/libc/include \ > +OBJS+= crtsavres.o > +CFLAGS+= -I${.CURDIR} \ > -mlongcall -DCRT_IRELOC_RELA > > -FILES= ${OBJS} > -FILESMODE= ${LIBMODE} > -FILESOWN= ${LIBOWN} > -FILESGRP= ${LIBGRP} > -FILESDIR= ${LIBDIR} > -# These FILES qualify as libraries for the purpose of LIBRARIES_ONLY. > -.undef LIBRARIES_ONLY > - > -CLEANFILES= ${OBJS} crt1_c.o gcrt1_c.o Scrt1_c.o > -CLEANFILES+= crtbrand.o ignore_init_note.o > CLEANFILES+= crtsavres.S > > # On powerpc64 crtsavres is an empty file > crtsavres.S: > touch ${.TARGET} > - > -gcrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -DGCRT -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -gcrt1.o: gcrt1_c.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o gcrt1.o -r crtbrand.o ignore_init_note.o gcrt1_c.o > - > -crt1.o: crt1_c.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o crt1.o -r crtbrand.o ignore_init_note.o crt1_c.o > - > -Scrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -fPIC -DPIC -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -Scrt1.o: Scrt1_c.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o Scrt1.o -r crtbrand.o ignore_init_note.o Scrt1_c.o > > .include > > Modified: head/lib/csu/riscv/Makefile > ============================================================================== > --- head/lib/csu/riscv/Makefile Thu Jul 2 22:59:05 2020 (r362901) > +++ head/lib/csu/riscv/Makefile Fri Jul 3 00:09:41 2020 (r362902) > @@ -2,37 +2,8 @@ > > .PATH: ${.CURDIR:H}/common > > -SRCS= crti.S crtn.S > -OBJS= ${SRCS:N*.h:R:S/$/.o/g} > -OBJS+= Scrt1.o crt1.o gcrt1.o > -CFLAGS+= -I${.CURDIR:H}/common \ > - -I${SRCTOP}/lib/libc/include > CFLAGS+= -DCRT_IRELOC_SUPPRESS > > -FILES= ${OBJS} > -FILESMODE= ${LIBMODE} > -FILESOWN= ${LIBOWN} > -FILESGRP= ${LIBGRP} > -FILESDIR= ${LIBDIR} > -# These FILES qualify as libraries for the purpose of LIBRARIES_ONLY. > -.undef LIBRARIES_ONLY > - > -CLEANFILES= ${OBJS} crt1_c.o crt1_s.o gcrt1_c.o Scrt1_c.o > -CLEANFILES+= crtbrand.o ignore_init_note.o > - > -gcrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -DGCRT -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -gcrt1.o: gcrt1_c.o crt1_s.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > - > -crt1.o: crt1_c.o crt1_s.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > - > -Scrt1_c.o: crt1_c.c > - ${CC} ${CFLAGS} -fPIC -DPIC -c -o ${.TARGET} ${.CURDIR}/crt1_c.c > - > -Scrt1.o: Scrt1_c.o crt1_s.o crtbrand.o ignore_init_note.o > - ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} > +CRT1OBJS+= crt1_s.o > > .include > _______________________________________________ > svn-src-head@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org"