[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hurd-bug
Subject:    Re: [PATCH] rumpdisk: Do not assume FHS /usr/lib, fixes Guix cross-build.
From:       Samuel Thibault <samuel.thibault () gnu ! org>
Date:       2023-05-22 22:54:02
Message-ID: 20230522225402.koshr5zq57d5kty3 () begin
[Download RAW message or body]

Applied, thanks!

Janneke Nieuwenhuizen, le lun. 22 mai 2023 21:59:09 +0200, a ecrit:
> Hello!
> 
> To (cross-)build the hurd/rumpdisk on Guix, I am now using the attached
> patch.  Instead of assuming librump*_pic.a live in /usr/lib, this patch
> uses -lrump*_pic.
> 
> Greetings,
> Janneke
> 

> From 7278eef1a2b45e18240d4963dddfc6f9ba8e6d28 Mon Sep 17 00:00:00 2001
> From: Janneke Nieuwenhuizen <janneke@gnu.org>
> Date: Mon, 22 May 2023 19:21:47 +0200
> Subject: [PATCH] rumpdisk: Do not assume FHS /usr/lib, fixes Guix cross-build.
> 
> ---
> rumpdisk/Makefile | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/rumpdisk/Makefile b/rumpdisk/Makefile
> index 60a209b3..b59aaf9a 100644
> --- a/rumpdisk/Makefile
> +++ b/rumpdisk/Makefile
> @@ -1,5 +1,5 @@
> #
> -#   Copyright (C) 2019 Free Software Foundation, Inc.
> +#   Copyright (C) 2019, 2023 Free Software Foundation, Inc.
> #
> #   This program is free software; you can redistribute it and/or
> #   modify it under the terms of the GNU General Public License as
> @@ -15,7 +15,6 @@
> #   along with this program; if not, write to the Free Software
> #   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
> 
> -RUMPPATH=/usr/lib
> RUMPLIBS=rump rumpuser rumpdev rumpdev_disk rumpdev_pci rumpvfs rumpdev_ahcisata \
> rumpdev_piixide rumpdev_ata RUMPEXTRA=rumpdev_scsipi
> 
> @@ -38,6 +37,6 @@ target = rumpdisk
> OBJS = $(SRCS:.c=.o)
> HURDLIBS = machdev ports trivfs shouldbeinlibc iohelp ihash fshelp
> LDLIBS += -lpthread -lpciaccess -ldl
> -LDLIBS += -Wl,--whole-archive $(RUMPLIBS:%=$(RUMPPATH)/lib%_pic.a) \
> -Wl,--no-whole-archive $(RUMPEXTRA:%=$(RUMPPATH)/lib%_pic.a) +LDLIBS += \
> -Wl,--whole-archive $(RUMPLIBS:%=-l%_pic) -Wl,--no-whole-archive \
> $(RUMPEXTRA:%=-l%_pic) 
> include ../Makeconf
> -- 
> 2.40.1
> 

> 
> -- 
> Janneke Nieuwenhuizen <janneke@gnu.org>  | GNU LilyPond https://LilyPond.org
> Freelance IT https://www.JoyOfSource.com | Avatar ® https://AvatarAcademy.com


-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic