You are not logged in.

#1 2013-04-07 17:44:22

darnir
Member
Registered: 2011-12-21
Posts: 47

Error building glibc from ABS

I tried compiling glibc from ABS today since I wanted the debug symbols for the package.
The PKGBUILD was left untouched, however, running makepkg returned the following error:

In file included from <command-line>:0:0:
../misc/syslog.c: In function ‘__vsyslog_chk’:
../misc/syslog.c:121:30: error: inlining failed in call to always_inline ‘syslog’: function not inlinable
 ldbl_strong_alias (__syslog, syslog)
                              ^
./../include/libc-symbols.h:87:26: note: in definition of macro ‘_strong_alias’
   extern __typeof (name) aliasname __attribute__ ((alias (#name)));
                          ^
../sysdeps/generic/math_ldbl_opt.h:12:44: note: in expansion of macro ‘strong_alias’
 #define ldbl_strong_alias(name, aliasname) strong_alias (name, aliasname)
                                            ^
../misc/syslog.c:121:1: note: in expansion of macro ‘ldbl_strong_alias’
 ldbl_strong_alias (__syslog, syslog)
 ^
In file included from ../sysdeps/unix/sysv/linux/syslog.c:6:0:
../misc/syslog.c:153:9: error: called from here
   syslog(INTERNALLOG,
         ^

What is going wrong here?

Also, if there is a better and faster way to get the debug symbol packages, please do let me know.

Offline

#2 2013-04-07 22:11:59

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,395
Website

Re: Error building glibc from ABS

-D_FORTIFY_SOUCRE has moved from CFLAGS to CPPFLAGS so you need to deal with that.   I will be rebuilding it in the next day or two anyway.

Offline

Board footer

Powered by FluxBB