pkgsrc-Users archive

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

Re: text relocations... graphics/ocaml-cairo won't build on 2026Q2



On Tue, Aug 11, 2026 at 08:19:10PM -0400, Brad Spencer wrote:
 > I get text relocation / write protected on a 32bit NetBSD/i386 system
 > running NetBSD 11.0_STABLE.  The 2026Q2 pkgsrc is from 2026-08-07 and
 > the system is from 2026-08-02.

It used to be that i386 tolerated certain text relocations; therefore
sometimes legacy build systems only insert them for amd64. Since the
package works on amd64, checking for such behavior would be a good
bet.

A quick glance through suggests that any such problem is in dune
rather than the ocaml-cairo package itself. Do other dune-driven ocaml
packages work?

(also, the most effective workaround is probably to disable PIEs in pkgsrc)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index