From nobody Sat Jul 30 13:15:09 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Lw4cY67sGz4Xcmx for ; Sat, 30 Jul 2022 13:15:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lw4cY45jPz45Tx for ; Sat, 30 Jul 2022 13:15:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lw4cY33NRzGYt for ; Sat, 30 Jul 2022 13:15:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26UDF9x1073275 for ; Sat, 30 Jul 2022 13:15:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26UDF9Lt073274 for ports-bugs@FreeBSD.org; Sat, 30 Jul 2022 13:15:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265516] lang/perl5*: work around duplicate symbol errors with dtrace enabled Date: Sat, 30 Jul 2022 13:15:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mat@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659186909; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KfuVHYjkFQjkjGzM3ZnLCfMIoJFTaP2VkkeuwBUpkX0=; b=HFG0UFQTTvNKjkSejAFVC6hr7+nuaRC6RtKRn7P8kkaB10fvrBn3Zh83jRIiHQteux8pmp 5T/J7C2218VnADL5SKcCQBvd7GL6SPOdvytsLAX2AuHTbd/NVmbjfDKu2F8hIg8DO3fRPW TPDWwL8khUvT/oAHm6YFbxowLTHXq3dK23VcvmvyGKxY9HhOdkCWgWt/cUj4cYuXnHdAZn TwAXxgqVkej3P5WH7ChyQKihj4GtH1dVW9Wf/I4RCt6VBYD/1uTvZQAn7P5N5ciLIsYo8R h0v1SamUlZo43XZrpQ111QJDErUq4BolpyuUGIFn0H8dqBWEAVmgG/apY8dAeQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659186909; a=rsa-sha256; cv=none; b=HoCacYw/6guaQ1KY+A8qnt/ydIcYIF2vG9XBGvQBbp2Ge5ohiqFZ3akhhwjplalNj0/WAQ STFI0NZ2ABZxgamMb8NcWFdxXPIOaxOFCJgPCeyElGsmV6IakpSTkF/FliPjVcOqlIuNHE QAFahFad0cLW7UX+22D3r+MVuClzcZTweODgVWQEzQjEJLVQgC8g4tsPs68etMhWRZyRId E5WqN5lJdflbBUJy/SQOJHBWdys9b0CgoiS4mSHH/tdglYkVfnOnAHN3FcoStlN0SW88Al vV/dqoklv7B+bXiW9PkjQF7P1m7pIAOQjfMjip5jPTp2nC2DelMYQ6/NXtC/PQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265516 Bug ID: 265516 Summary: lang/perl5*: work around duplicate symbol errors with dtrace enabled Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: mat@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(mat@FreeBSD.org) Assignee: mat@FreeBSD.org During an exp-run for llvm 15 (see bug 265425), it turned out that lang/perl5.32, lang/perl5.34, lang/perl5.36 and lang/perl5-devel fail to bu= ild with clang and lld 15: cc -pthread -Wl,-E -fstack-protector-strong -L/usr/local/lib -o miniperl=20 mpdtrace/opmini.o mpdtrace/perlmini.o mpdtrace/gv.o mpdtrace/toke.o mpdtrace/perly.o mpdtrace/pad.o mpdtrace/regcomp.o mpdtrace/dump.o mpdtrace/util.o mpdtrace/mg.o mpdtrace/reentr.o mpdtrace/mro_core.o mpdtrace/keywords.o mpdtrace/hv.o mpdtrace/av.o mpdtrace/run.o mpdtrace/pp_hot.o mpdtrace/sv.o mpdtrace/pp.o mpdtrace/scope.o mpdtrace/pp_ctl.o mpdtrace/pp_sys.o mpdtrace/doop.o mpdtrace/doio.o mpdtrace/regexec.o mpdtrace/utf8.o mpdtrace/taint.o mpdtrace/deb.o mpdtrace/universal.o mpdtrace/globals.o mpdtrace/perlio.o mpdtrace/perlapi.o mpdtrace/numeric.o mpdtrace/mathoms.o mpdtrace/locale.o mpdtrace/pp_pack.o mpdtrace/pp_sort.o mpdtrace/caretx.o mpdtrace/dquote.o mpdtrace/time64.o mpdtrace/miniperlmain.o dtrace_mini.o -lpthread -lm -lcrypt -lutil ld: error: duplicate symbol: __dtraceenabled_perl___op__entry >>> defined in mpdtrace/perlmini.o >>> defined in mpdtrace/dump.o ld: error: duplicate symbol: __dtraceenabled_perl___op__entry >>> defined in mpdtrace/perlmini.o >>> defined in mpdtrace/run.o ld: error: duplicate symbol: __dtraceenabled_perl___sub__entry >>> defined in mpdtrace/pp_hot.o >>> defined in mpdtrace/pp_ctl.o ld: error: duplicate symbol: __dtraceenabled_perl___sub__entry >>> defined in mpdtrace/pp_hot.o >>> defined in mpdtrace/regexec.o ld: error: duplicate symbol: __dtraceenabled_perl___sub__entry >>> defined in mpdtrace/pp_hot.o >>> defined in mpdtrace/pp_sort.o cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 This error pops up in more bug reports, for instance bug 258872 and bug 260= 947. It seems that dtrace does something to the object files produced during the build, if the DTRACE option is enabled (which it is by default). Whatever it does, it causes these multiply defined symbols, which only appear to occur = in certain (as of yet) undetermined circumstances. I would like to get the ports going again by working around these link erro= rs, using the --allow-multiple-definition linker flag, which is supported by bo= th GN ld and lld. --=20 You are receiving this mail because: You are the assignee for the bug.=