Re: armv7 lang/gcc12 "no bootstrap" build via system clang 15.0.7 based poudriere build ends up stuck in a small loop

2023-03-07 Thread Mark Millard
Below is a small example C source showing the clang 15+ armv7 problem that leads to the unbounded looping in later code in the lang/gcc12+ builds: a data structure is mis-initialized, breaking its invariant properties used by the later code structure. # more partition.c // Minor varation of part o

Re: armv7 lang/gcc12 "no bootstrap" build via system clang 15.0.7 based poudriere build ends up stuck in a small loop

2023-03-07 Thread Lorenzo Salvadore
--- Original Message --- On Tuesday, March 7th, 2023 at 11:26 AM, Mark Millard wrote: > > > Below is a small example C source showing the clang 15+ armv7 > problem that leads to the unbounded looping in later code in > the lang/gcc12+ builds: a data structure is mis-initialized, > brea

Re: armv7 lang/gcc12 "no bootstrap" build via system clang 15.0.7 based poudriere build ends up stuck in a small loop

2023-03-07 Thread Mark Millard
On Mar 7, 2023, at 03:12, Lorenzo Salvadore wrote: > > --- Original Message --- > On Tuesday, March 7th, 2023 at 11:26 AM, Mark Millard > wrote: > > >> >> >> Below is a small example C source showing the clang 15+ armv7 >> problem that leads to the unbounded looping in later code i

Re: armv7 lang/gcc12 "no bootstrap" build via system clang 15.0.7 based poudriere build ends up stuck in a small loop

2023-03-07 Thread Dimitry Andric
On 7 Mar 2023, at 11:26, Mark Millard wrote: > > Below is a small example C source showing the clang 15+ armv7 > problem that leads to the unbounded looping in later code in > the lang/gcc12+ builds: a data structure is mis-initialized, > breaking its invariant properties used by the later code >

Re: armv7 lang/gcc12 "no bootstrap" build via system clang 15.0.7 based poudriere build ends up stuck in a small loop

2023-03-07 Thread Mark Millard
On Mar 7, 2023, at 03:45, Dimitry Andric wrote: > On 7 Mar 2023, at 11:26, Mark Millard wrote: >> >> Below is a small example C source showing the clang 15+ armv7 >> problem that leads to the unbounded looping in later code in >> the lang/gcc12+ builds: a data structure is mis-initialized, >> b

Re: armv7 lang/gcc12 "no bootstrap" build via system clang 15.0.7 based poudriere build ends up stuck in a small loop

2023-03-07 Thread Lorenzo Salvadore
--- Original Message --- On Tuesday, March 7th, 2023 at 1:04 PM, Mark Millard wrote: > > > On Mar 7, 2023, at 03:45, Dimitry Andric d...@freebsd.org wrote: > > > On 7 Mar 2023, at 11:26, Mark Millard mark...@yahoo.com wrote: > > > > > Below is a small example C source showing the cla

Unmaintained FreeBSD ports which are out of date

2023-03-07 Thread portscout
Dear port maintainers, The portscout new distfile checker has detected that one or more unmaintained ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. Please consider also adopting this po

Re: How do I determine the ABI string used by pkg?

2023-03-07 Thread Dan Langille
Baptiste Daroussin wrote on 3/6/23 2:56 AM: On Wed, Mar 01, 2023 at 11:50:13PM -0800, Mel Pilgrim wrote: I need to determine the ABI string pkg uses on a given system, and need to do so when there are no pkgs installed. pkg config ABI pkg config ALTABI When run in a freshly-created jail: [r7

Re: pkg insists on uninstalling NextCloud ...

2023-03-07 Thread M. Mader
I've been running Nextcloud for years now. Not once did Nextcloud survive a pkg update. My tip: Run it in a jail. Lock the pkgs. Put the actual content on a separate zfs dataset and mount it with nullfs into said jail. Am 7. März 2023 01:27:53 MEZ schrieb "Kevin P. Neal" : >This is a new one to

Re: How do I determine the ABI string used by pkg?

2023-03-07 Thread Mel Pilgrim
On 2023-03-07 9:09, Dan Langille wrote: Baptiste Daroussin wrote on 3/6/23 2:56 AM: On Wed, Mar 01, 2023 at 11:50:13PM -0800, Mel Pilgrim wrote: I need to determine the ABI string pkg uses on a given system, and need to do so when there are no pkgs installed. pkg config ABI pkg config ALTABI

Re: armv7 lang/gcc12 "no bootstrap" build via system clang 15.0.7 based poudriere build ends up stuck in a small loop

2023-03-07 Thread Mark Millard
[I got a openSUSE tumblweed linux going on a RPi2 v1.1 (so: armv7) and installed clang 15. I show the test fails there as well.] On Mar 7, 2023, at 04:04, Mark Millard wrote: > On Mar 7, 2023, at 03:45, Dimitry Andric wrote: > >> On 7 Mar 2023, at 11:26, Mark Millard wrote: >>> >>> Below is

Re: armv7 lang/gcc12 "no bootstrap" build via system clang 15.0.7 based poudriere build ends up stuck in a small loop

2023-03-07 Thread Mark Millard
I have submitted: https://github.com/llvm/llvm-project/issues/61255 === Mark Millard marklmi at yahoo.com

Re: How do I determine the ABI string used by pkg?

2023-03-07 Thread Tatsuki Makino
Hello. Are you still saying that you are creating another program that does not rely on the pkg command? Then again, let's look at elf_tables.h. It would be necessary to have such a conversion table. static struct arch_trans machine_arch_translation[] = { { "x86:32", "i386" }, {

Re: How do I determine the ABI string used by pkg?

2023-03-07 Thread Mel Pilgrim
On 2023-03-07 19:56, Tatsuki Makino wrote: Hello. Are you still saying that you are creating another program that does not rely on the pkg command? Then again, let's look at elf_tables.h. It would be necessary to have such a conversion table. Yeah basically. It pulls the pkg source as a buil

Re: How do I determine the ABI string used by pkg?

2023-03-07 Thread Kyle Evans
On Tue, Mar 7, 2023 at 11:34 PM Mel Pilgrim wrote: > > On 2023-03-07 19:56, Tatsuki Makino wrote: > > Hello. > > > > Are you still saying that you are creating another program that does not > > rely on the pkg command? > > Then again, let's look at elf_tables.h. > > It would be necessary to have

Re: How do I determine the ABI string used by pkg?

2023-03-07 Thread Tatsuki Makino
I see that the pkg for the bootstrapper has a function in /usr/src/usr.sbin/pkg/config.c to create an ABI. There is a function called pkg_get_myabi, which seems to be just the result of the following command, with a colon in between. (In fact, it's a system call or something.) uname -s expr `un