From owner-freebsd-current@freebsd.org Sun Jun 16 15:49:38 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED74B15C2820 for ; Sun, 16 Jun 2019 15:49:37 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from xmailer.gwdg.de (xmailer.gwdg.de [134.76.10.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B56E8601C for ; Sun, 16 Jun 2019 15:49:36 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from excmbx-24.um.gwdg.de ([134.76.9.234] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (Exim 4.90_1) (envelope-from ) id 1hcXPN-0001DL-EN for freebsd-current@FreeBSD.org; Sun, 16 Jun 2019 17:49:29 +0200 Received: from krabat.raven.hur (79.201.117.152) by EXCMBX-24.um.gwdg.de (134.76.9.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P521) id 15.1.1713.5; Sun, 16 Jun 2019 17:49:28 +0200 To: From: Rainer Hurling Subject: r349100: buildworld does not compile (ld: error: duplicate symbol: sse42_crc32c) Message-ID: Date: Sun, 16 Jun 2019 17:49:22 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Originating-IP: [79.201.117.152] X-ClientProxiedBy: EXCMBX-04.um.gwdg.de (134.76.9.219) To EXCMBX-24.um.gwdg.de (134.76.9.234) X-Virus-Scanned: (clean) by clamav X-Rspamd-Queue-Id: 9B56E8601C X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rhurlin@gwdg.de designates 134.76.10.29 as permitted sender) smtp.mailfrom=rhurlin@gwdg.de X-Spamd-Result: default: False [-4.12 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:134.76.10.0/23]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[gwdg.de]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[29.10.76.134.list.dnswl.org : 127.0.11.2]; MX_GOOD(-0.01)[c1233.mx.srv.dfn.de,b1233.mx.srv.dfn.de,a1233.mx.srv.dfn.de]; NEURAL_HAM_SHORT(-0.70)[-0.697,0]; IP_SCORE(-0.92)[ipnet: 134.76.0.0/16(-4.56), asn: 680(-0.01), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:680, ipnet:134.76.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[152.117.201.79.zen.spamhaus.org : 127.0.0.10] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2019 15:49:38 -0000 If I try to build world almost recent sources (r349100) on HEAD amd64 (r348775), it stops with the following error: [..snip..] (cd /usr/src/tests/sys/kern && DEPENDFILE=.depend.libkern_crc32 NO_SUBDIR=1 make -f /usr/src/tests/sys/kern/Makefile _RECURSING_PROGS=t PROG=libkern_crc32 ) echo libkern_crc32: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libc.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libprivateatf-c.a >> .depend.libkern_crc32 cc -target x86_64-unknown-freebsd13.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -DUSERSPACE_TESTING -MD -MF.depend.libkern_crc32.libkern_crc32.o -MTlibkern_crc32.o -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -c /usr/src/tests/sys/kern/libkern_crc32.c -o libkern_crc32.o cc -target x86_64-unknown-freebsd13.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -DUSERSPACE_TESTING -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -DUSERSPACE_TESTING -o libkern_crc32 libkern_crc32.o /usr/src/sys/libkern/x86/crc32_sse42.c -lprivateatf-c /usr/src/sys/libkern/x86/crc32_sse42.c -lprivateatf-c ld: error: duplicate symbol: sse42_crc32c >>> defined at crc32_sse42.c >>> /tmp/crc32_sse42-2988bd.o:(sse42_crc32c) >>> defined at crc32_sse42.c >>> /tmp/crc32_sse42-bcf3d2.o:(.text+0x3C0) cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [libkern_crc32] Error code 1 make[6]: stopped in /usr/src/tests/sys/kern 1 error make[6]: stopped in /usr/src/tests/sys/kern *** [libkern_crc32] Error code 2 This happens with two older cpus, Intel (Core 17-4770) and AMD (Phenom II X6 1090T). Am I the only one, who observes this breakage? Thanks for any hint. Regards, Rainer Hurling