[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to t
From: |
Phil Sainty |
Subject: |
bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start |
Date: |
Sun, 18 Apr 2021 03:00:17 +1200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 18/04/21 2:29 am, Eli Zaretskii wrote:
> How about now?
This time it compiled; but with the following warnings, and
when I run it from the installed location (whether using the
absolute path or a symlink) I get a seg fault / core dump:
$ /home/phil/emacs/native-comp/usr/local/bin/emacs --version
Segmentation fault (core dumped)
Running the uninstalled version works:
$ ./src/emacs --version
GNU Emacs 28.0.50
Copyright (C) 2021 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
-Phil (finished for the night, but can test more tomorrow)
CC emacs.o
In function ‘load_pdump’,
inlined from ‘main’ at emacs.c:1289:5:
emacs.c:920:13: warning: argument 1 null where non-null expected [-Wnonnull]
920 | needed += strlen (strip_suffix) - strlen (suffix) + strlen (go_up);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/string.h:41,
from lisp.h:29,
from emacs.c:33:
emacs.c: In function ‘main’:
/usr/include/string.h:384:15: note: in a call to function ‘strlen’ declared here
384 | extern size_t strlen (const char *__s)
| ^~~~~~
In file included from /usr/include/stdio.h:862,
from ../lib/stdio.h:43,
from lisp.h:4731,
from emacs.c:33:
In function ‘sprintf’,
inlined from ‘load_pdump’ at emacs.c:927:3,
inlined from ‘main’ at emacs.c:1289:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: warning: ‘%s’ directive
argument is null [-Wformat-overflow=]
33 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- bug#44128: [feature/native-comp], (continued)
- bug#44128: [feature/native-comp], Phil Sainty, 2021/04/15
- bug#44128: [feature/native-comp], Eli Zaretskii, 2021/04/16
- bug#44128: [feature/native-comp], Phil Sainty, 2021/04/16
- bug#44128: [feature/native-comp], Eli Zaretskii, 2021/04/16
- bug#44128: [feature/native-comp], Phil Sainty, 2021/04/16
bug#44128: [feature/native-comp], Jonas Bernoulli, 2021/04/16
- bug#44128: [feature/native-comp], Eli Zaretskii, 2021/04/16
- bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start, Eli Zaretskii, 2021/04/17
- bug#44128: bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start, Phil Sainty, 2021/04/17
- bug#44128: bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start, Eli Zaretskii, 2021/04/17
- bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start,
Phil Sainty <=
- bug#44128: bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start, Eli Zaretskii, 2021/04/17
- bug#44128: bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start, Dario Gjorgjevski, 2021/04/17
- bug#44128: bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start, Eli Zaretskii, 2021/04/17
- bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start, wilde, 2021/04/17
- bug#44128: bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start, Eli Zaretskii, 2021/04/17
- bug#44128: bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start, wilde, 2021/04/17
- bug#44128: bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start, Eli Zaretskii, 2021/04/18
- bug#44128: bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start, Eli Zaretskii, 2021/04/18
- bug#44128: bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start, wilde, 2021/04/18
- bug#44128: bug#47800: bug#44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start, Eli Zaretskii, 2021/04/18