[Bug 240850] sysutils/coreutils fails to build with PIE

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 240850] sysutils/coreutils fails to build with PIE

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240850

            Bug ID: 240850
           Summary: sysutils/coreutils fails to build with PIE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [hidden email]
          Reporter: [hidden email]
                CC: [hidden email]
             Flags: maintainer-feedback?([hidden email])

Created attachment 207865
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207865&action=edit
build log

The coreutils port fails in the package stage with the following error on
12-STABLE amd64:

gmake[1]: Leaving directory
'/wrkdirs/usr/ports/sysutils/coreutils/work/coreutils-8.31'
strip: open
/wrkdirs/usr/ports/sysutils/coreutils/work/stage/usr/local/libexec/coreutils/libstdbuf.so
failed: No such file or directory
*** Error code 1

To reproduce:
1) enable WITH_PIE=yes in src.conf and rebuild (if it's not default)
2) set kern.elf64.aslr.enable and kern.elf64.aslr.pie_enable sysctls to 1
3) add the following to make.conf:
CFLAGS+= -fPIE
CXXFLAGS+= -fPIE
LDFLAGS+= -pie
4) build the port

Perhaps it just needs an updated plist file.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240850] sysutils/coreutils fails to build with PIE

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240850

--- Comment #1 from [hidden email] ---
Sorry, I'm not setup to duplicate/test this.

Please send a patch that a committer can check for correctness.

Thanks.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"