unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Failure building trunk on MSYS2 after "Fix locating pdump by symlink"
@ 2019-06-24  9:14 martin rudalics
  2019-06-24 15:00 ` Basil L. Contovounesios
  0 siblings, 1 reply; 2+ messages in thread
From: martin rudalics @ 2019-06-24  9:14 UTC (permalink / raw)
  To: emacs-devel

Building trunk with MSYS2 currently fails here as:

checking for realpath... no
...
checking whether realpath works... no
...
   CC       canonicalize-lgpl.o
../../lib/canonicalize-lgpl.c:51:21: warning: no previous prototype for 'realpath' [-Wmissing-prototypes]
  # define __realpath realpath
                      ^~~~~~~~
../../lib/canonicalize-lgpl.c:117:1: note: in expansion of macro '__realpath'
  __realpath (const char *name, char *resolved)
  ^~~~~~~~~~
../../lib/canonicalize-lgpl.c:50:35: warning: no previous prototype for 'canonicalize_file_name' [-Wmissing-prototypes]
  # define __canonicalize_file_name canonicalize_file_name
                                    ^~~~~~~~~~~~~~~~~~~~~~
../../lib/canonicalize-lgpl.c:416:1: note: in expansion of macro '__canonicalize_file_name'
  __canonicalize_file_name (const char *name)
  ^~~~~~~~~~~~~~~~~~~~~~~~
...
../../src/emacs.c: In function 'load_pdump':
../../src/emacs.c:750:17: warning: implicit declaration of function 'realpath'; did you mean 'GetPath'? [-Wimplicit-function-declaration]
    char* argv0 = realpath (argv[0], NULL);
                  ^~~~~~~~
                  GetPath
../../src/emacs.c:750:17: warning: nested extern declaration of 'realpath' [-Wnested-externs]
../../src/emacs.c:750:17: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
...
   CCLD     temacs.exe
../lib/libgnu.a(canonicalize-lgpl.o): In function `realpath':
C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:294: undefined reference to `mmalloca'
C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:294:(.text+0x7d2): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `mmalloca'
C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:305: undefined reference to `freea'
C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:305:(.text+0x84d): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:313: undefined reference to `mmalloca'
C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:313:(.text+0x8de): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `mmalloca'
C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:316: undefined reference to `freea'
C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:316:(.text+0x8fe): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:326: undefined reference to `freea'
C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:326:(.text+0x96e): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:379: undefined reference to `freea'
C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:379:(.text+0xd8a): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:387: undefined reference to `freea'
C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:387:(.text+0xdbe): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:651: temacs.exe] Fehler 1
make[1]: Verzeichnis „/c/emacs/trunk/non-64/src“ wird verlassen
make: *** [Makefile:424: src] Fehler 2

martin




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Failure building trunk on MSYS2 after "Fix locating pdump by symlink"
  2019-06-24  9:14 Failure building trunk on MSYS2 after "Fix locating pdump by symlink" martin rudalics
@ 2019-06-24 15:00 ` Basil L. Contovounesios
  0 siblings, 0 replies; 2+ messages in thread
From: Basil L. Contovounesios @ 2019-06-24 15:00 UTC (permalink / raw)
  To: martin rudalics; +Cc: emacs-devel

martin rudalics <rudalics@gmx.at> writes:

> Building trunk with MSYS2 currently fails here as:
>
> checking for realpath... no
> ...
> checking whether realpath works... no
> ...
>   CC       canonicalize-lgpl.o
> ../../lib/canonicalize-lgpl.c:51:21: warning: no previous prototype for 'realpath' [-Wmissing-prototypes]
>  # define __realpath realpath
>                      ^~~~~~~~
> ../../lib/canonicalize-lgpl.c:117:1: note: in expansion of macro '__realpath'
>  __realpath (const char *name, char *resolved)
>  ^~~~~~~~~~
> ../../lib/canonicalize-lgpl.c:50:35: warning: no previous prototype for 'canonicalize_file_name' [-Wmissing-prototypes]
>  # define __canonicalize_file_name canonicalize_file_name
>                                    ^~~~~~~~~~~~~~~~~~~~~~
> ../../lib/canonicalize-lgpl.c:416:1: note: in expansion of macro '__canonicalize_file_name'
>  __canonicalize_file_name (const char *name)
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> ...
> ../../src/emacs.c: In function 'load_pdump':
> ../../src/emacs.c:750:17: warning: implicit declaration of function 'realpath'; did you mean 'GetPath'? [-Wimplicit-function-declaration]
>    char* argv0 = realpath (argv[0], NULL);
>                  ^~~~~~~~
>                  GetPath
> ../../src/emacs.c:750:17: warning: nested extern declaration of 'realpath' [-Wnested-externs]
> ../../src/emacs.c:750:17: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
> ...
>   CCLD     temacs.exe
> ../lib/libgnu.a(canonicalize-lgpl.o): In function `realpath':
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:294: undefined reference to `mmalloca'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:294:(.text+0x7d2): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `mmalloca'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:305: undefined reference to `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:305:(.text+0x84d): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:313: undefined reference to `mmalloca'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:313:(.text+0x8de): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `mmalloca'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:316: undefined reference to `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:316:(.text+0x8fe): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:326: undefined reference to `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:326:(.text+0x96e): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:379: undefined reference to `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:379:(.text+0xd8a): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:387: undefined reference to `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:387:(.text+0xdbe): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
> collect2.exe: error: ld returned 1 exit status
> make[1]: *** [Makefile:651: temacs.exe] Fehler 1
> make[1]: Verzeichnis „/c/emacs/trunk/non-64/src“ wird verlassen
> make: *** [Makefile:424: src] Fehler 2

See also:
https://lists.gnu.org/archive/html/emacs-devel/2019-06/msg00913.html

-- 
Basil



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-24 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-24  9:14 Failure building trunk on MSYS2 after "Fix locating pdump by symlink" martin rudalics
2019-06-24 15:00 ` Basil L. Contovounesios

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).