unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Errors while compiling 25.2rc2
@ 2017-03-02 22:01 Fabrice Popineau
  2017-03-03  7:55 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Fabrice Popineau @ 2017-03-02 22:01 UTC (permalink / raw)
  To: Emacs developers

[-- Attachment #1: Type: text/plain, Size: 2058 bytes --]

I get errors when trying to compile the emacs-25 git branch on
Windows Subsystem for Linux, which is basically Ubuntu 16.04.

I get a bunch of errors like this :

  CC       careadlinkat.o
In file included from ../../emacs/src/conf_post.h:241:0,
                 from ../src/config.h:1917,
                 from ../../emacs/lib/careadlinkat.c:21:
./unistd.h: In function ‘rpl_pipe2’:
./unistd.h:1409:1: error: expected declaration specifiers before
‘_GL_ARG_NONNULL’
 _GL_FUNCDECL_RPL (pipe2, int, (int fd[2], int flags) _GL_ARG_NONNULL
((1)));
 ^
./unistd.h:1410:1: error: storage class specified for parameter
‘_gl_cxxalias_dummy’
 _GL_CXXALIAS_RPL (pipe2, int, (int fd[2], int flags));
 ^
./unistd.h:1415:1: error: storage class specified for parameter
‘_gl_cxxalias_dummy’
 _GL_CXXALIASWARN (pipe2);
 ^
./unistd.h:1415:1: error: redefinition of parameter ‘_gl_cxxalias_dummy’
./unistd.h:1410:1: note: previous definition of ‘_gl_cxxalias_dummy’ was
here
 _GL_CXXALIAS_RPL (pipe2, int, (int fd[2], int flags));
 ^
./unistd.h:1538:1: error: storage class specified for parameter
‘_gl_cxxalias_dummy’
 _GL_CXXALIAS_SYS (readlink, ssize_t,
 ^
./unistd.h:1538:1: error: redefinition of parameter ‘_gl_cxxalias_dummy’
./unistd.h:1415:1: note: previous definition of ‘_gl_cxxalias_dummy’ was
here
 _GL_CXXALIASWARN (pipe2);
 ^
./unistd.h:1541:1: error: storage class specified for parameter
‘_gl_cxxalias_dummy’
 _GL_CXXALIASWARN (readlink);
 ^
GCC version :

fabrice@LOBSANG:/mnt/d/Source/emacs/build-emacs-ubuntu$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


What could cause these problems ?

I know the platform may not be the primary target to support but still I'd
like to know what is happening there.

Thanks for any clue,

Fabrice

[-- Attachment #2: Type: text/html, Size: 2657 bytes --]

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

* Re: Errors while compiling 25.2rc2
  2017-03-02 22:01 Errors while compiling 25.2rc2 Fabrice Popineau
@ 2017-03-03  7:55 ` Eli Zaretskii
  2017-03-03 10:16   ` Fabrice Popineau
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2017-03-03  7:55 UTC (permalink / raw)
  To: Fabrice Popineau; +Cc: emacs-devel

> From: Fabrice Popineau <fabrice.popineau@gmail.com>
> Date: Thu, 2 Mar 2017 23:01:38 +0100
> 
> fabrice@LOBSANG:/mnt/d/Source/emacs/build-emacs-ubuntu$ gcc --version
> gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
> Copyright (C) 2015 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> What could cause these problems ?
> 
> I know the platform may not be the primary target to support but still I'd like to know what is happening there.

Is WSL stable enough for us to start caring for it?  Last I looked it
was a moving target, with features added and changed all the time.
Trying to chase that could be a gratuitous sink of our resources.

I'm sure Paul will know what causes these problems, but I'm
questioning whether we should do that, before WSL stabilizes and is
released as a product suitable for production work.

Thanks.



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

* Re: Errors while compiling 25.2rc2
  2017-03-03  7:55 ` Eli Zaretskii
@ 2017-03-03 10:16   ` Fabrice Popineau
  0 siblings, 0 replies; 5+ messages in thread
From: Fabrice Popineau @ 2017-03-03 10:16 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Emacs developers

[-- Attachment #1: Type: text/plain, Size: 1191 bytes --]

2017-03-03 8:55 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:

> > From: Fabrice Popineau <fabrice.popineau@gmail.com>
> > Date: Thu, 2 Mar 2017 23:01:38 +0100
> >
> > fabrice@LOBSANG:/mnt/d/Source/emacs/build-emacs-ubuntu$ gcc --version
> > gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
> > Copyright (C) 2015 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions. There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
> >
> > What could cause these problems ?
> >
> > I know the platform may not be the primary target to support but still
> I'd like to know what is happening there.
>
> Is WSL stable enough for us to start caring for it?  Last I looked it
> was a moving target, with features added and changed all the time.
> Trying to chase that could be a gratuitous sink of our resources.
>
>
I would agree with you, unfortunately, I tried also to do the same thing in
a genuine Ubuntu release running in a vm
and I got the exact same result, which is a bit annoying.

I am at commit 6e788ef0 on emacs-25 branch.

So either I am doing something very stupid or there is a problem on the
branch.

Fabrice

[-- Attachment #2: Type: text/html, Size: 1779 bytes --]

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

* Re: Errors while compiling 25.2rc2
@ 2017-03-03 14:20 Angelo Graziosi
  2017-03-03 14:24 ` Fabrice Popineau
  0 siblings, 1 reply; 5+ messages in thread
From: Angelo Graziosi @ 2017-03-03 14:20 UTC (permalink / raw)
  To: eliz, Fabrice Popineau, Emacs developers

Fabrice Popineau wrote:

> I am at commit 6e788ef0 on emacs-25 branch.

I tried with the official RC2 
(http://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-25.2-rc2.tar.gz) 
and it builds and seems to work..

Here is W10 Pro (build 14393.693) with WSL:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty

and GCC version 4.8.4.

As you perhaps remember from previous discussions, in WSL I need this

$ echo 0 | sudo tee /proc/sys/kernel/randomize_va_space

before to start the Emacs build.


Ciao,
   Angelo.



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

* Re: Errors while compiling 25.2rc2
  2017-03-03 14:20 Angelo Graziosi
@ 2017-03-03 14:24 ` Fabrice Popineau
  0 siblings, 0 replies; 5+ messages in thread
From: Fabrice Popineau @ 2017-03-03 14:24 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Eli Zaretskii, Emacs developers

[-- Attachment #1: Type: text/plain, Size: 532 bytes --]

2017-03-03 15:20 GMT+01:00 Angelo Graziosi <angelo.graziosi@alice.it>:

> Fabrice Popineau wrote:
>
> I am at commit 6e788ef0 on emacs-25 branch.
>>
>
> I tried with the official RC2 (http://git.savannah.gnu.org/c
> git/emacs.git/snapshot/emacs-25.2-rc2.tar.gz) and it builds and seems to
> work..
>
> Thanks Angelo.

Seems I had a problem with 'git pull' telling me I am up to date with the
emacs-25 branch, and that looking closer, it is not the case :-/

So sorry everybody for the noise (and sometimes, git is a PIA !)

Fabrice

[-- Attachment #2: Type: text/html, Size: 1221 bytes --]

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

end of thread, other threads:[~2017-03-03 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-02 22:01 Errors while compiling 25.2rc2 Fabrice Popineau
2017-03-03  7:55 ` Eli Zaretskii
2017-03-03 10:16   ` Fabrice Popineau
  -- strict thread matches above, loose matches on Subject: below --
2017-03-03 14:20 Angelo Graziosi
2017-03-03 14:24 ` Fabrice Popineau

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).