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.