From nobody Wed Feb 09 01:59:29 2022 X-Original-To: threads@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 9E1C719B8512 for ; Wed, 9 Feb 2022 01:59:29 +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 4Jtjjs2Snlz3t5s for ; Wed, 9 Feb 2022 01:59:29 +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 316D124894 for ; Wed, 9 Feb 2022 01:59:29 +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 2191xTZm097377 for ; Wed, 9 Feb 2022 01:59:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2191xTmD097375 for threads@FreeBSD.org; Wed, 9 Feb 2022 01:59:29 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: threads@FreeBSD.org Subject: [Bug 192686] Segfaults using combinations of -pie -pthread -lm(|_p) when profiling Date: Wed, 09 Feb 2022 01:59:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: threads X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: threads@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity bug_status see_also keywords Message-ID: In-Reply-To: References: 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: Threading List-Archive: https://lists.freebsd.org/archives/freebsd-threads List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-threads@freebsd.org X-BeenThere: freebsd-threads@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644371969; 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: in-reply-to:in-reply-to:references:references; bh=6HmSjSbVs7Zt5fqzGtTgKwWN4tFrfwXy220Qh3lXoIo=; b=GiLeB4SXCYSkxMLD1DllJXtiY21xXWXmabEujHXzG4qfwgN0cuVGJIgPU1NUOaWjfkKpVs d2iwljoA9MW5qo5PpUhK5RDyL+7SmWD1+smO3JhjyJMbHrkaWuKKxdzMqCs1p2NGr+qJ3h TeUqNTWe/FWks4Vrk9OiUX+tPTGuzJnY62NKi62who7cD/K0SQsgr2DKc83lDBuLZiBZoQ 0QEVX8A9x6qGkeF6PaNC1XLuNgGDSEe/5iw6O2iyQaZL+i+JkQrzwJOw7sUfQfHW2r8WLK MJFvLjZnRi2Mxa1ZysndR4DC0RLafUdboXxPWsCKRlw3nwCr1xnc3bLWPP1pFA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644371969; a=rsa-sha256; cv=none; b=crs42krjTVVGuXUkvkabNmzR6RN7ZXwWfSBrCtxlGuVgWFA8DK4Hcp4C3r+/GV2m4I0u63 y6W83wU5L3MqFjDFeQDvkKiCSkUB0YjqYJr3AdHgQXkw28cm981/D+IpQ42qpmOX60yd4p eOUq0gjPRlUfGHLlgAyckxMz3jPo9FsLboGfc/qUDdyLilXL4peW3TWBqBziqk+149T+lS cR76l6+OIbPsdJfNjMUiMyQ1I8GM8kuTjXp/CPxYHoz8BlxLj6ZzjhgVew/Zu3yPC9wbau kI0ZW4uJ7CfzUujDUroeck9hCC+Peocv9pJnaYHPzTm6FOzhLHhN/4W2hp50jg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192686 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Many People |Affects Some People Status|New |Open See Also| |https://reviews.freebsd.org | |/D25086 Keywords| |needs-qa --- Comment #2 from Kubilay Kocak --- Hitting this with (some?) ports, in this case lang/php80: 14.0-CURRENT #0 main-n251899-fa255ab1b89-dirty /GENERIC-NODEBUG amd6 configure:4149: $? =3D 1 configure:4169: checking whether the C compiler works configure:4191: cc -march=3Dsandybridge -mtune=3Dsandybridge -O2 -pipe -fp= ie -fPIC -flto=3Dthin -fstack-protector-strong -fno-strict-aliasing -I/usr/local/in= clude -D_FORTIFY_SOURCE=3D2 -Wl,--enable-new-dtags -Wl,-z,relro,-z,now -Wl,-pie,= -z> ld: error: cannot preempt symbol: _DYNAMIC >>> referenced by crt1_c.c:59 (/usr/src/lib/csu/amd64/crt1_c.c:59) >>> /usr/lib/crt1.o:(_start) ld: error: cannot preempt symbol: _DYNAMIC >>> referenced by ignore_init.c:106 (/usr/src/lib/csu/common/ignore_init.c:= 106) >>> /usr/lib/crt1.o:(handle_static_init) ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC >>> defined in /usr/lib/crt1.o >>> referenced by ignore_init.c:109 (/usr/src/lib/csu/common/ignore_init.c:= 109) >>> /usr/lib/crt1.o:(handle_static_init) Google found me this bug and review D25086 Is this the same issue as on i386 as reported here? --=20 You are receiving this mail because: You are the assignee for the bug.=