Re: Developer environment setup problem

Milos Nikic <[email protected]> Sun, 22 Jun 2025 22:16:28 -0700
Newsgroups gmane.os.hurd.bugs,gmane.os.hurd.general
Message-ID <CAOeJtk-epQs4WcGLRSP1eA+epBh3EE5dpDcNdixTLKKfbDPktA@mail.gmail.com>
--000000000000f60a6306383651ca
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello folks,

Ok i have pulled the latest code to my host machine. It contains all the
fixes. I was able to run the test now and it ran successfully. Thanks
Samuel.

I also renamed hd0 to wd0 in my Debian-Hurd fstab and was able to make the
cross compiled kernel boot up and work. Thanks Almudena, for your help and
your script.
Cross-compiling is much faster on my host, and It allows me to use some of
my favorite tools (neovim etc) for development. It is awesome.

All in all, thanks everyone.
Milos



On Sun, Jun 22, 2025 at 9:38=E2=80=AFAM Samuel Thibault <samuel.thibault@gn=
u.org>
wrote:

> Milos Nikic, le dim. 22 juin 2025 08:55:16 -0700, a ecrit:
> > I did post the configs already (but I guess they just got lost in the
> emails)
>
> Apparently indeed.
>
> > here they are again:
> >
> > [1]https://justpaste.it/gg2af is config log from Debian Hurd
>
> Thanks. I have added some configure snippet to try to look for mig too,
> that should fix the
>
> /bin/bash: line 1: n: command not found
>
> issue.
>
> What is left however, is the case where you were getting
>
> undefined reference to `__stack_chk_fail_local'
>
> We'd need the log for that case. Is that this:
>
> > Cross compiling I haven't tried again. The log from that day is here:
> > [2]https://justpaste.it/fya16
>
> Ok, we do get
>
> configure:12855: checking whether the compiler accepts `-fstack-protector=
'
> configure:12865: result: yes
>
> But in the tests/ case it was missing the -fno-stack-protector option,
> now fixed.
>
> Thanks,
> Samuel
>

--000000000000f60a6306383651ca
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello folks,</div><div><br></div><div>Ok i have pulle=
d the latest code to my host machine. It contains all the fixes. I was able=
 to run the test now and it ran successfully. Thanks Samuel.</div><div><br>=
</div><div>I also renamed hd0 to wd0 in my Debian-Hurd fstab and was able t=
o make the cross compiled kernel boot up and work. Thanks Almudena, for you=
r help and your script.</div><div>Cross-compiling is much faster on my host=
, and It allows me to=C2=A0use some of my favorite tools=C2=A0(neovim etc) =
for development. It is awesome.</div><div><br></div><div>All in all, thanks=
 everyone.</div><div>Milos</div><div><br></div><div><br></div></div><br><di=
v class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gma=
il_attr">On Sun, Jun 22, 2025 at 9:38=E2=80=AFAM Samuel Thibault &lt;<a hre=
f=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:=
<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Milos Nikic, le=
 dim. 22 juin 2025 08:55:16 -0700, a ecrit:<br>
&gt; I did post the configs already (but I guess they just got lost in the =
emails)<br>
<br>
Apparently indeed.<br>
<br>
&gt; here they are again:<br>
&gt; <br>
&gt; [1]<a href=3D"https://justpaste.it/gg2af" rel=3D"noreferrer" target=3D=
"_blank">https://justpaste.it/gg2af</a> is config log from Debian Hurd=C2=
=A0<br>
<br>
Thanks. I have added some configure snippet to try to look for mig too,<br>
that should fix the <br>
<br>
/bin/bash: line 1: n: command not found<br>
<br>
issue.<br>
<br>
What is left however, is the case where you were getting<br>
<br>
undefined reference to `__stack_chk_fail_local&#39;<br>
<br>
We&#39;d need the log for that case. Is that this:<br>
<br>
&gt; Cross compiling I haven&#39;t tried again. The log from that day is he=
re:<br>
&gt; [2]<a href=3D"https://justpaste.it/fya16" rel=3D"noreferrer" target=3D=
"_blank">https://justpaste.it/fya16</a><br>
<br>
Ok, we do get<br>
<br>
configure:12855: checking whether the compiler accepts `-fstack-protector&#=
39;<br>
configure:12865: result: yes<br>
<br>
But in the tests/ case it was missing the -fno-stack-protector option,<br>
now fixed.<br>
<br>
Thanks,<br>
Samuel<br>
</blockquote></div>

--000000000000f60a6306383651ca--