Bug 265565 - databases/mysql-udf: add -fPIC on all architectures
Summary: databases/mysql-udf: add -fPIC on all architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-02 04:38 UTC by Robert Clausecker
Modified: 2022-08-05 05:38 UTC (History)
1 user (show)

See Also:
fernape: merge-quarterly+


Attachments
databases/mysql-udf: add -fPIC on all architectures (1011 bytes, patch)
2022-08-02 04:38 UTC, Robert Clausecker
fuz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2022-08-02 04:38:16 UTC
Created attachment 235626 [details]
databases/mysql-udf: add -fPIC on all architectures

I think it's safe to say that this option is needed everywhere.

This fixed the build on armv7.
Tested with Poudriere on armv7 arm64 FreeBSD 13.1.
Please MFH if possible.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2022-08-05 05:35:51 UTC
Committed,

Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-08-05 05:36:30 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cabd9376521555cf8026b5416c5f033ebbd3d7b1

commit cabd9376521555cf8026b5416c5f033ebbd3d7b1
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-08-04 06:12:42 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-08-05 05:32:31 +0000

    databases/mysql-udf: always add -fPIC

    This fixes build for armv6 and armv7

    PR:     265565
    Reported by:    fuz@fuz.su (maintainer)
    MFH:    2022Q3 (build fixes)

 databases/mysql-udf/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-08-05 05:38:31 UTC
A commit in branch 2022Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=caf3d8d577894b54a16dbb98f2ab618bca156202

commit caf3d8d577894b54a16dbb98f2ab618bca156202
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-08-04 06:12:42 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-08-05 05:35:22 +0000

    databases/mysql-udf: always add -fPIC

    This fixes build for armv6 and armv7

    PR:     265565
    Reported by:    fuz@fuz.su (maintainer)
    MFH:    2022Q3 (build fixes)

    (cherry picked from commit cabd9376521555cf8026b5416c5f033ebbd3d7b1)

 databases/mysql-udf/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)