From nobody Sun Sep 10 16:51:06 2023 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 4RkG7v2MTqz4sMgF for ; Sun, 10 Sep 2023 16:51:07 +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 4RkG7v0X1fz3dhh for ; Sun, 10 Sep 2023 16:51:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694364667; a=rsa-sha256; cv=none; b=rzBzkDZQFUSLiujf50SijH3jp2phpjjlvzWZK9JfmO1Y/v3wXLVWQVE683I9Vvm8Bz4tBV yxUv8E7jZ+AMqWWcITgMsSALRodDdVSJ4qSv+isUD77QYPh+Mnm3ozZBIQ9zz4NVwyMoJw LOoTZZy+5ykni6gZqoH6Yk0W1sktVAgWn/uzBg/enSjVZlQYOgrNpPFxSrHH9pSDeMIHMr 1Zsv65SHiQN4RYMSNJ4YQmAs+Vh1SbJ3C2QBYfSbcevPoDs1n62S/0/Kd0KiayB66HtPxL 3Y/b2CtDjKjs/eBXaZrXwFZQ5VGQnv91LQaEK5RIvbt27QRVlh7Gkicgi603Ag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694364667; 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=sSeG7YVP8aaK7IQDRYHpS7H2EX6m3aAEAOA77rgt32M=; b=dEL1QEEMfOwQO5hotTqQAOOfGHiVPh0ESxS7rp8FPu2ltOjJLf/hQqCtgrcSfTL3LUfPU+ PhvePhVgB4BvQJHjA0Ywcf3QFSuEwG0MI7kEoVM6Jub9D9M0aWP0/oMmAd7ytgWNfwmubg 57XeUGs1+7CFECNdksUQk3hlXOM6UYlhRuseSZcc0mW+GfddX11/nUVfrv+XSpJRjWF6GD HkTSk9Xcbk7Hhvb5gjHDYM8Syy2bbGVseNllKkH1sNbbF5SVg9IECF9JkMSGKHuiz961Nx OmQgsQNjGjOOWpS1U5vSXMBllXeC4QYmBOeyyYnKH3IRW6dtMJZtmcWP1Vpyxw== 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 4RkG7t6kTHzxC for ; Sun, 10 Sep 2023 16:51:06 +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 38AGp62g012501 for ; Sun, 10 Sep 2023 16:51:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38AGp69S012500 for ports-bugs@FreeBSD.org; Sun, 10 Sep 2023 16:51:06 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 273706] math/qhull: use -fPIC with the static library Date: Sun, 10 Sep 2023 16:51:06 +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 Only Me X-Bugzilla-Who: thierry@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: stephen@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 attachments.created 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273706 Bug ID: 273706 Summary: math/qhull: use -fPIC with the static library Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: stephen@FreeBSD.org Reporter: thierry@FreeBSD.org Flags: maintainer-feedback?(stephen@FreeBSD.org) Assignee: stephen@FreeBSD.org Created attachment 244753 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D244753&action= =3Dedit Adding -fPIC ATM "Use shared library for linking apps" is set to OFF. qhullstatic_r is added by /usr/local/lib/cmake/Qhull/QhullTargets.cmake, an= d it causes a failure because it does not contain relocatable code: /usr/local/bin/ld: /usr/local/lib/libqhullstatic_r.a(global_r.c.o): relocat= ion R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/local/bin/ld: failed to set dynamic section sizes: bad value c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) The attached patch defines -fPIC (and remove an old CONFLICTS). Another interesting possibility could be to define LINK_APPS_SHARED (IDK why it is = not enabled). I got this one with the Python module of GDL. --=20 You are receiving this mail because: You are the assignee for the bug.=