zsh-users
 help / color / mirror / code / Atom feed
From: Bernd Steinhauser <linux@bernd-steinhauser.de>
To: zsh-users@zsh.org
Subject: Re: Compilation failure for zsh-5.0.5
Date: Sat, 11 Jan 2014 09:58:05 +0100	[thread overview]
Message-ID: <52D1079D.40007@bernd-steinhauser.de> (raw)
In-Reply-To: <140110155525.ZM21199@torch.brasslantern.com>

On 11/01/14 00:55, Bart Schaefer wrote:
> On Jan 10, 11:05pm, Bernd Steinhauser wrote:
> }
> } In file included from /usr/include/sys/capability.h:30:0,
> }                   from ../../Src/zsh_system.h:510,
> }                   from ../../Src/zsh.mdh:17,
> }                   from attr.mdh:17,
> }                   from attr.c:30:
> } /usr/include/sys/xattr.h:31:3: error: expected identifier before numeric constant
> }     XATTR_CREATE = 1, /* set value, fail if attr already exists.  */
> }     ^
> } [...]
> }
> } The used glibc version is 2.17. Anyone can help?
>
> That error is coming from a system-level header file ... we need to know
> not just the glibc version, but the compiler and also operating system you
> are compiling on, whether you're cross-compiling for something else, etc.
>
> Even then our ability to help will be determined by whether we have a
> similar platform to try out.
>
Operating System is Exherbo Linux with kernel 3.13.0-rc7 running on amd64:
uname -a
Linux orionis 3.13.0-rc7 #1 SMP PREEMPT Tue Jan 7 23:45:18 CET 2014 x86_64 GNU/Linux

There is no cross compiling, I'm compiling on this computer for exactly this 
platform and this computer. I didn't do any special setup for the build 
environment, just ran configure (without any options) and make.

compiler:
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: 
/var/tmp/paludis/build/sys-devel-gcc-4.8.2-r2/work/gcc-4.8.2/configure 
--prefix=/usr --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu 
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
--sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules 
--enable-fast-install --libdir=/usr/lib64 --cache-file=config.cache 
--libdir=/usr/lib64 --with-pkgversion='exherbo gcc-4.8.2-r2' 
--program-suffix=-4.8 --disable-bootstrap --enable-clocale=gnu 
--enable-languages=c,c++,fortran,objc,obj-c++ --enable-lto --enable-multilib 
--enable-nls --enable-serial-configure --enable-libquadmath 
--enable-libquadmath-support --without-cloog --enable-libgomp --disable-libobjc 
--disable-libssp --with-as=x86_64-pc-linux-gnu-as 
--with-ld=x86_64-pc-linux-gnu-ld --with-system-zlib
Thread model: posix
gcc version 4.8.2 (exherbo gcc-4.8.2-r2)

In case this might be useful, binutils is version 2.24. Linux headers are from 3.12.

Currently, I have zsh 5.0.2 installed, which was built using gcc 4.7 and glibc 
2.17. So this might be related to the new gcc (4.8) I have installed since 2 
approx. weeks. Unfortunately, I removed the old gcc already, otherwise I would 
just check with that one and see if it compiles.
I also noticed that glibc 2.17 has been build with gcc 4.7, no idea if that 
might be important. I will try to build it with the newer one and check if that 
helps.


  reply	other threads:[~2014-01-11  8:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-10 22:05 Bernd Steinhauser
2014-01-10 23:55 ` Bart Schaefer
2014-01-11  8:58   ` Bernd Steinhauser [this message]
2014-01-11 18:07     ` Bart Schaefer
2014-01-12 11:10       ` Bernd Steinhauser
2014-01-11 17:58 ` Jun T.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52D1079D.40007@bernd-steinhauser.de \
    --to=linux@bernd-steinhauser.de \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).