[PATCH] fix missing include header guard.

2020-11-21 Thread guy fleury iteriteka
* i386/i386/pit.h: Add header guard angaist multiple inclusion.
---
 i386/i386/pit.h | 5 +
 1 file changed, 5 insertions(+)

diff --git a/i386/i386/pit.h b/i386/i386/pit.h
index 6b682280..e004c37c 100644
--- a/i386/i386/pit.h
+++ b/i386/i386/pit.h
@@ -45,6 +45,9 @@ NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 
CONNECTION
 WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */
 
+#ifndef_I386_PIT_H_
+#define_I386_PIT_H_
+
 #ifdefined(AT386) || defined(ATX86_64)
 /* Definitions for 8254 Programmable Interrupt Timer ports on AT 386 */
 #define PITCTR0_PORT   0x40/* counter 0 port */
@@ -79,3 +82,5 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #endif /* AT386 */
 
 extern void clkstart(void);
+
+#endif /* _I386_PIT_H_ */
-- 
2.20.1




Re: [PATCH] Hurd: Enable ifunc by default

2020-11-21 Thread Samuel Thibault
Ping?

I was able to pass glibc's complete ifunc tests with no problem.

Samuel

Samuel Thibault, le dim. 08 nov. 2020 23:52:51 +0100, a ecrit:
> The binutils bugs seem to have been fixed.
> 
> 2020-11-08  Samuel Thibault  
> 
>   gcc/
>   * config.gcc: Enable default_gnu_indirect_function in *-*-gnu*
>   target (but not *-*-kfreebsd*-gnu | *-*-kopensolaris*-gnu).
> ---
>  gcc/config.gcc | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/gcc/config.gcc b/gcc/config.gcc
> index b42ebc4e5be..a347c2cec7c 100644
> --- a/gcc/config.gcc
> +++ b/gcc/config.gcc
> @@ -3538,7 +3538,9 @@ esac
>  case ${target} in
>  *-*-linux*android*|*-*-linux*uclibc*|*-*-linux*musl*)
>  ;;
> -*-*-linux*)
> +*-*-kfreebsd*-gnu | *-*-kopensolaris*-gnu)
> +;;
> +*-*-linux* | *-*-gnu*)
>   case ${target} in
>   aarch64*-* | arm*-* | i[34567]86-* | powerpc*-* | s390*-* | sparc*-* | 
> x86_64-*)
>   default_gnu_indirect_function=yes
> -- 
> 2.20.1
> 

-- 
Samuel
 bon comment on fait de l'investigation pour savoir qui est le vilain ?
 on débranche le routeur et on regarde qui s'affole
 -+- #ens-mim administre -+-



Re: pci-arbiter + rumpdisk

2020-11-21 Thread Samuel Thibault
Hello,

Damien Zammit, le mar. 17 nov. 2020 20:56:07 +1100, a ecrit:
> Somehow I was able to boot / via rumpdisk and then the arbiter
> still worked afterwards, so networking via netdde started working.
> This is the first time I've had a rumpdisk / with network access!
> 
> Alas, I cannot seem to make it work via the arbiter though.

Did you make libpciaccess's hurd backend try to device_open("pci") in
order to get access to pci-arbiter?

Since at that point the FS does not exist yet it can't open
/servers/bus/pci, that is not surprising.

Samuel