From owner-freebsd-current@freebsd.org Sun Jun 16 16:34:13 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 B41DF15C393C for ; Sun, 16 Jun 2019 16:34:13 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 B4F2287915 for ; Sun, 16 Jun 2019 16:34:12 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x736.google.com with SMTP id c11so4797646qkk.8 for ; Sun, 16 Jun 2019 09:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qH8jpa7sTXfHyN+94zfQsprEZVS6Ynkv0LzRPUlIrGY=; b=v+F4F1hd+xdSXRHJjEZdvTlj1sBY6M8+2BqLXNjEvF/nyN3HH0tr8zBm4cJ/WTJpfm p7sxRfO7T1b/gcjIEcm2nE5103JLp1l0Q+o4UOnyoiUXEtgxpl2TDvHA6vQ8yIIx0rS8 SoTHc9JEpbb8yW+ogPaVRQeGal7U8BCuYw0ZUMhD3tHndO8GoNQcUMFOkO1yNxkFgiwe Y1JyXf/EUejORqX++LsJL6MijSFZ8ts05js6hk7b6u8fLvIk01jbFPKQ/sqwTJJniEnb leTlhNUoXfmcyFB6fYOmhjWrw+eE+wMh0hNLhNQeONaD3h6dXa1Zg/koMLkmX3aB71Nw yjgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qH8jpa7sTXfHyN+94zfQsprEZVS6Ynkv0LzRPUlIrGY=; b=chdLlSYqto8AbE72daJbfoIca8FbWSOHbLp3j7SNrBmW2VSrbLX8fq/UPzif54Ff+t 6Ra9q2HPjhkqAw2pwmqFUehv7wPiejFWTqxtRNZlWBUMqHQ/Jowrmu3lJa1lzoRlOApo 34yB5m53aRv13dzdfiue71e8/X8u8lgHynk5HNCLHrlSY6I9f/VYfePAARE+w4fPnT0n u8RbmH3Ndc3NpcLCIGeuUcFrwqGNgl4kqzikI+Ge+FRm/8snUX90UcvOQZQsZAMrj637 8T7q4Ao1telt7VHOg5yVkrMxoHrVs8RbVEFl/a33nV3ne/JI4i+RhUCEOJEgz2LSn3Gn yFhA== X-Gm-Message-State: APjAAAX3Sp2MkEFuzULc92qitzgYLefWQS6FgW+5WZyuz2vctxU2mpOb ci7VWH5vmHdOGltfD+yyxuc5ZuJez11l0TORV59w8VdF X-Google-Smtp-Source: APXvYqyCIzuniDhUgKyFxcRp9HFbCnotGmU3T70gYCY4M9p+Ch2TgrKKBevZNbTeiZ5XssEVslmUAEMiHs0QUP3gkSw= X-Received: by 2002:a37:5942:: with SMTP id n63mr72241516qkb.69.1560702851872; Sun, 16 Jun 2019 09:34:11 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Sun, 16 Jun 2019 10:33:59 -0600 Message-ID: Subject: Re: r349100: buildworld does not compile (ld: error: duplicate symbol: sse42_crc32c) To: Rainer Hurling Cc: FreeBSD Current X-Rspamd-Queue-Id: B4F2287915 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=v+F4F1hd X-Spamd-Result: default: False [-5.97 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.959,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[6.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; IP_SCORE(-3.00)[ip: (-9.45), ipnet: 2607:f8b0::/32(-3.17), asn: 15169(-2.31), country: US(-0.06)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 16:34:13 -0000 On Sun, Jun 16, 2019, 9:51 AM Rainer Hurling wrote: > 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. > Try adding -DWITHOUT_TESTS to buildworld... Warner Regards, > Rainer Hurling > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >