Re: amd64: IBT bulk build breakage

2023-11-20 Thread Dylan D'Silva
>I did another run. It took about 148 hours, i.e., six days and >four hours. >The following ports failed to build: >lang/crystal >lang/gprolog >lang/ldc >lang/racket-minimal >... as well as these OCaml-based ports, for which a fix is pending: >devel/ocaml-menhir >sysutils/opam >x11/lablgtk3

Re: lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-09-07 Thread Volker Schlecht
Hi Anil, > | NOTRACK -> i0 b "notrack" (* TODO does masm support this? *) Seems it doesn't :-) gmake[4]: Entering directory '/home/ports/ocaml/ocaml/stdlib' OCAMLOPT camlinternalFormatBasics.cmx /tmp/camlasm69ee74.s:83:2: error: invalid instruction mnemonic 'notrack' notrack

Re: lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-09-07 Thread Volker Schlecht
Hi, yes, I can do that in the evening today. cheers, Volker On 9/7/23 09:37, Anil Madhavapeddy wrote: Would anyone with an IBT-enabled x86_64 be able to run a test for me on an OCaml tree to see if the patch works? (my hardware is still two weeks away from delivery) $ git clone

Re: lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-09-03 Thread Volker Schlecht
On Sun Sep 3, 2023 at 3:40 PM CEST, Christian Weisgerber wrote: > Volker Schlecht: > > > Is that an ok? :-) > > Yes, for your ocaml IBT fix and the opam IBT fix from chrisz@. Committed the ocaml fix and checked the build of sysutils/opam in tree. With the fixed ocaml, it seems to build and run

Re: lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-09-03 Thread Christian Weisgerber
Volker Schlecht: > Is that an ok? :-) Yes, for your ocaml IBT fix and the opam IBT fix from chrisz@. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-09-03 Thread Volker Schlecht
Is that an ok? :-) On Sun Sep 3, 2023 at 1:47 PM CEST, Christian Weisgerber wrote: > Anil Madhavapeddy: > > > Thanks for all the pointers! Every machine for 100 miles around me seems > > to be an AMD these days, so I've ordered myself a Raptor Lake NUC > > to be my new OpenBSD desktop. As soon as

Re: lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-09-03 Thread Christian Weisgerber
Anil Madhavapeddy: > Thanks for all the pointers! Every machine for 100 miles around me seems > to be an AMD these days, so I've ordered myself a Raptor Lake NUC > to be my new OpenBSD desktop. As soon as that arrives I'll take a look > at the native code compiler output (unless someone else

Re: lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-08-15 Thread Anil Madhavapeddy
On 11 Aug 2023, at 12:51, Stuart Henderson wrote: > > yes, for amd64 it's intel Tiger Lake (11th gen) and newer, models of the > format iX-11XXX, iX-12XXX, iX-13XXX. no AMD CPUs. On ark.intel.com, look > for "Control-Flow Enforcement Technology" (the intel term which covers > both shadow stacks

Re: lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-08-15 Thread Anil Madhavapeddy
On 8 Aug 2023, at 20:49, Volker Schlecht wrote: > > Cc: Maintainer > > On 7/31/23 14:28, Christian Weisgerber wrote: >> I managed to run a full bulk build on my T14 G3 with IBT. Kudos >> to Lenovo for engineering a laptop that can build for days on end >> without melting down. >> The following

Re: lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-08-11 Thread Christian Weisgerber
Volker Schlecht: > With the attached patch, I get a lang/ocaml that builds ocaml-menhir and > lablgtk3 successfully on my IBT enabled amd64 machine. ... and all ports that depend on ocaml, in fact. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-08-11 Thread Stuart Henderson
On 2023/08/10 20:28, Volker Schlecht wrote: > Hi Anil, hey anil :) > On 8/10/23 19:39, Anil Madhavapeddy wrote: > > On 8 Aug 2023, at 20:49, Volker Schlecht wrote: > > > > > > Cc: Maintainer > > > > > > On 7/31/23 14:28, Christian Weisgerber wrote: > > > > I managed to run a full bulk build

Re: amd64: IBT bulk build breakage

2023-08-11 Thread Christian Weisgerber
Christian Weisgerber: > I managed to run a full bulk build on my T14 G3 with IBT. Kudos > to Lenovo for engineering a laptop that can build for days on end > without melting down. I did another run. It took about 148 hours, i.e., six days and four hours. The following ports failed to build:

Re: lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-08-10 Thread Christian Weisgerber
Anil Madhavapeddy: > I’m just catching up; is a recent amd64 snapshot enough to get an > IBT-enabled system? You also need a CPU that supports IBT, i.e., where dmesg shows the "IBT" flag in the cpuX line. As far as I know, that means an Intel processor of the Alder Lake generation (12th gen

Re: lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-08-10 Thread Theo de Raadt
> yes, -current has it enabled now. But in order to catch those problems > you'll need a CPU that supports it, too ... on amd64 that would be > Tiger Lake(?) and later. I think. it is any "laptop / desktop" cpu from gen11 onwards, which is most things in the last 3 years

Re: lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-08-10 Thread Volker Schlecht
Hi Anil, On 8/10/23 19:39, Anil Madhavapeddy wrote: On 8 Aug 2023, at 20:49, Volker Schlecht wrote: Cc: Maintainer On 7/31/23 14:28, Christian Weisgerber wrote: I managed to run a full bulk build on my T14 G3 with IBT. Kudos to Lenovo for engineering a laptop that can build for days on

Re: lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-08-08 Thread Christopher Zimmermann
For sysutils/opam it should already be sufficient to use MODULES+=lang/ocaml please then also do MODOCAML_RUNDEP=No otherwise I'm ok with your changes although I don't have any IBT-enabled machine to test on. Christopher

lang/ocaml and IBT WAS: amd64: IBT bulk build breakage

2023-08-08 Thread Volker Schlecht
Cc: Maintainer On 7/31/23 14:28, Christian Weisgerber wrote: I managed to run a full bulk build on my T14 G3 with IBT. Kudos to Lenovo for engineering a laptop that can build for days on end without melting down. The following ports fail to build: devel/ocaml-menhir # OCaml

amd64: IBT bulk build breakage

2023-07-31 Thread Christian Weisgerber
I managed to run a full bulk build on my T14 G3 with IBT. Kudos to Lenovo for engineering a laptop that can build for days on end without melting down. The following ports fail to build: devel/ocaml-menhir # OCaml lang/crystal lang/gprolog lang/ldc lang/racket-minimal sysutils/opam