[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#73006: [PATCH 0/2] gnu: glibc: Fix cross-compiling.
From: |
Ludovic Courtès |
Subject: |
bug#73006: [PATCH 0/2] gnu: glibc: Fix cross-compiling. |
Date: |
Tue, 15 Oct 2024 17:33:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
Zheng Junjie <zhengjunjie@iscas.ac.cn> skribis:
> Ludovic Courtès <ludo@gnu.org> writes:
[...]
>> thing, as suggested in the discussion at
>> <https://inbox.sourceware.org/libc-alpha/d72f5f6f-cc3a-bd89-0800-ffb068928e0f@linaro.org/t/>,
>> and that means ‘objdump-for-target’ & co. shouldn’t be necessary.
>>
>> Ludo’.
>
> glibc 2.35 have "glibc-cross-objdump.patch" and "glibc-cross-objcopy.patch"
> patch, but glibc 2.39 not have them, so 2.39 cross compiling try use objdump
> and build fail, and 2.35 success.
The reason 2.39 doesn’t have these patches in Guix is because they were
integrated upstream, if I’m not mistaken. Or am I missing something?
> I checked again today. because (gnu services base)'s nscd-configuration
> default use glibc, not '(cross-libc target)', This is why glibc was
> introduced. Maybe the following patch can also be useful.
>
> From f23d1e48bd0fd9d3b66cbc831cc40f475faff7a4 Mon Sep 17 00:00:00 2001
> Message-ID:
> <f23d1e48bd0fd9d3b66cbc831cc40f475faff7a4.1725551406.git.zhengjunjie@iscas.ac.cn>
> From: Zheng Junjie <zhengjunjie@iscas.ac.cn>
> Date: Thu, 5 Sep 2024 23:48:34 +0800
> Subject: [PATCH] services: nscd: When cross-compiling, Use (cross-libc
> target).
>
> * gnu/services/base.scm (nscd-configuration)[glibc]: When cross-compiling,
> Use (cross-libc target).
>
> Change-Id: Ib219459b1ec28f7edfac075e70be3d61edf72d27
Yes, this one doesn’t hurt, applied.
Thanks,
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#73006: [PATCH 0/2] gnu: glibc: Fix cross-compiling.,
Ludovic Courtès <=