Bradley Morgan, le sam. 20 juin 2026 15:10:03 +0100, a ecrit:
> On 20 June 2026 15:06:48 BST, Samuel Thibault <[email protected]>
> wrote:
> >Bradley Morgan, le sam. 20 juin 2026 15:04:58 +0100, a ecrit:
> >> On 20 June 2026 14:53:30 BST, Samuel Thibault <[email protected]>
> >> wrote:
> >> >Damien Zammit, le sam. 20 juin 2026 02:11:04 +0000, a ecrit:
> >> >> This change allows cross compilation of the test suite from a
> >> >> non-x86 GNU/Linux host.
> >> >
> >> >What does this actually fix?
> >> 
> >> Hi, I'm guessing here but I'm thinking it's fixing
> >> the include errors that happen on non X86 systems?
> >
> >But the question is: what error?
> >
> >We need to understand an error and fix it precisely, and not rush for a
> >brown-tape fix.
> 
> Hmm, maybe he means the auto generated header files probably don't
> generate when building. Happens to me sometimes

auto-generated headers are not in include/

To fix things we don't need guesses on the actual problem, we need facts.

Samuel

> Thus causing a "File not found" error.
> 
> That mostly happens when compiling the test suite?
> >Samuel
> >
> >> >$(MACH_TESTINSTALL) already integrates the headers that gnumach
> >> >installs. What more do tests need that aren't available that way?
> >> >
> >> >As in: it's probably a sign that we are perhaps not installing
> >something
> >> >that we should, or some such.
> >> >Possibly there is some header that tests do need and we don't want to
> >> >install. But exposing the whole include/ is not the proper way to fix
> >> >it, since then we wouldn't be catching the case that we miss installing
> >> >a new header that userland needs.
> >> 
> >> Damien, what do you think here? :)
> >> 
> >> >Samuel
> >> >
> >> >> ---
> >> >>  tests/user-qemu.mk | 1 +
> >> >>  1 file changed, 1 insertion(+)
> >> >> 
> >> >> diff --git a/tests/user-qemu.mk b/tests/user-qemu.mk
> >> >> index 857dbaac..e497ca6d 100644
> >> >> --- a/tests/user-qemu.mk
> >> >> +++ b/tests/user-qemu.mk
> >> >> @@ -115,6 +115,7 @@ TESTCFLAGS = -static -nostartfiles -nolibc \
> >> >>         -I$(srcdir)/tests/include \
> >> >>         -I$(MACH_TESTINCLUDE) \
> >> >>         -I$(MIG_OUTDIR) \
> >> >> +       -I$(srcdir)/include \
> >> >>         -ggdb3 \
> >> >>         -DMIG_EOPNOTSUPP
> >> >>  
> >> >> -- 
> >> >> 2.49.0
> >> >> 
> >> >> 
> >> >> 
> >> >
> >> >
> >> 
> >> Thanks!
> >> 
> >
> >
> 
> Thanks!
> 

-- 
Samuel
Now, it we had this sort of thing:
  yield -a     for yield to all traffic
  yield -t     for yield to trucks
  yield -f     for yield to people walking (yield foot)
  yield -d t*  for yield on days starting with t
...you'd have a lot of dead people at intersections, and traffic jams you
wouldn't believe...
(Discussion in comp.os.linux.misc on the intuitiveness of commands.)

Reply via email to