pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56794: cmake 3.22.3nb1 on aarch64 gives "text relocations"

>Number:         56794
>Category:       pkg
>Synopsis:       cmake 3.22.3nb1 on aarch64 gives "text relocations"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 13 16:30:00 +0000 2022
>Originator:     Havard Eidnes
>Release:        NetBSD 9.0
	I try...
System: NetBSD arm64 9.0 NetBSD 9.0 (GENERIC64) #0: Fri Feb 14 00:06:28 UTC 2020 evbarm
Architecture: aarch64
Machine: evbarm
	Building cmake 3.22.3nb1 (pkgsrc-current devel/cmake) on my
	emulated aarch64 system results in two build errors which
	needs to be worked around by "paxctl +am <file>".  One of the
	errors is:

Install the project...
bin/cmake: text relocations
bin/cmake: Cannot write-enable text segment: Permission denied
gmake: *** [Makefile:130: install] Error 1

	Subsequently, on use of the installed cmake, I get

/usr/pkg/bin/cmake: text relocations

	on each invocation.

	I would have perhaps expected to see things like this with
	programs with integrated assembly, written for i386, but am
	surprised to see this for aarch64 with a program which
	hopefully (!) doesn't stoop to the needless depths of doing
	custom assembly code.  I may be wrong, though.

	Build pkgsrc-current's cmake, watch the build bomb, twice,
	requiring manual "paxctl +am <file>" each time, and still see
	the annoying messages in the build log for programs which use
	Sorry, do not know.

Home | Main Index | Thread Index | Old Index