Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481438 - sys-libs/glibc-2.18 on MIPS - build failure due to 0012-mips-add-clock_-g-s-ettime-symbol-compat-hacks - ../sysdeps/unix/clock_gettime.c:141:32: error: '__mips_clock_gettime' aliased to undefined symbol '__clock_gettime'
Summary: sys-libs/glibc-2.18 on MIPS - build failure due to 0012-mips-add-clock_-g-s-e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: MIPS Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-17 10:06 UTC by Manuel Lauss
Modified: 2013-08-17 17:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Lauss 2013-08-17 10:06:04 UTC
glibc-2.18 doesn't build on MIPS due to patch 00_all_0012-mips-add-clock_-g-s-ettime-symbol-compat-hacks.patch:


In file included from <command-line>:0:0:
../sysdeps/unix/clock_gettime.c:141:32: error: '__mips_clock_gettime' aliased to undefined symbol '__clock_gettime'
 strong_alias (__clock_gettime, __mips_clock_gettime)
                                ^
./../include/libc-symbols.h:87:26: note: in definition of macro '_strong_alias'
   extern __typeof (name) aliasname __attribute__ ((alias (#name)));
                          ^
../sysdeps/unix/clock_gettime.c:141:1: note: in expansion of macro 'strong_alias'
 strong_alias (__clock_gettime, __mips_clock_gettime)


I've excluded it from my builds (see Bug #456912) which also fixes the build :)


Reproducible: Always
Comment 1 SpanKY gentoo-dev 2013-08-17 17:38:04 UTC
should be all set now in the tree; thanks for the report!

Commit message: Re-add mips librt patch to exclude list
http://sources.gentoo.org/sys-libs/glibc/glibc-2.18.ebuild?r1=1.1&r2=1.2