[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_
From: |
Flappy Bird |
Subject: |
bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info |
Date: |
Sun, 15 Aug 2021 07:44:52 +0545 |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>> Yes. Or we could use something to single out glibc, if there is such
>> a macro.
>...
> birdsite@airmail.cc, can you try the following trivial patch and see
> whether that allows you to compile Emacs again?
>
> diff --git a/src/alloc.c b/src/alloc.c
> index 8edcd06c84..4ea337ddba 100644
> --- a/src/alloc.c
> +++ b/src/alloc.c
> ...
> -#ifdef GNU_LINUX
> +#if defined GNU_LINUX && defined __GLIBC__
Thank you larsi! the patch works and the initial compilation is
fine. The build log is attached below. Although now i'm getting a new
error such as:
LC_ALL=C ./temacs -batch -l loadup --temacs=pdump
Loading loadup.el (source)...
dump mode: pdump
...
Loading files.el (source)...
(require pcase) while preparing to dump
make[1]: *** [Makefile:584: emacs.pdmp] Error 255
Thanks!
make-emacs-larsi-patch
Description: build log after patch by larsi
- bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info, birdsite, 2021/08/14
- bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info, Eli Zaretskii, 2021/08/14
- bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info, Bird, 2021/08/14
- bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info, Lars Ingebrigtsen, 2021/08/14
- bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info, Eli Zaretskii, 2021/08/14
- bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info, Lars Ingebrigtsen, 2021/08/14
- bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info,
Flappy Bird <=
- bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info, Lars Ingebrigtsen, 2021/08/15
- bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info, birdsite, 2021/08/15
- bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info, Lars Ingebrigtsen, 2021/08/15
- bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info, birdsite, 2021/08/15
- bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info, Lars Ingebrigtsen, 2021/08/15
- bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info, Eli Zaretskii, 2021/08/15