| Summary: | app-editors/emacs-24.3-r2 - ../lib/libgnu.a(dtotimespec.o): In function `wcstombs': dtotimespec.c:(.text+0xb0): multiple definition of `wcstombs' | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Robert McGehee <robert.mcgehee> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | gnu-emacs |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Build.log | ||
|
Description
Robert McGehee
2013-10-18 14:59:45 UTC
(In reply to Robert McGehee from comment #0) > Portage 2.2.7-prefix (prefix/linux/amd64, gcc-4.4.6, unavailable, > 2.6.18-348.6.1.0.1.el5 x86_64) What glibc version are you using? 2.5? Yes, GLIBC 2.5. Also, for what its worth, I just ran a full system update and ran into a similar problem with two more packages: This error message in sys-devel/mp-1.4.17: printf-parse.c:(.text+0x160): multiple definition of `stpncpy' m4.o:m4.c:(.text+0x1a0): first defined here collect2: error: ld returned 1 exit status and this error message in app-arch/tar-1.27: ../gnu/libgnu.a(argp-fmtstream.o): In function `getdomainname': argp-fmtstream.c:(.text+0x150): multiple definition of `getdomainname' rmt.o:rmt.c:(.text+0x5f0): first defined here collect2: error: ld returned 1 exit status So whatever is causing the error is occurring in other builds is well. (So perhaps a portage/ebuild issue?) However, when the other package updates I've tried so far have gone fine, so not all packages are affected. Hey, Robert, thanks for reporting. The old glibc is a headache. We have fewer users or developers as it is Prefix specific. You may try RAP (Prefix which uses it's own glibc) to get a bleeding edge glibc working. A bootstrap script is available at, https://github.com/redlizard/prefix-libc/tree/master/scripts Maybe appending "-fgnu89-inline" to CFLAGS (as suggested in bug 289757 comment 5) would help? Benda, Agreed and thanks for the link. I'm hoping we can eventually move our servers to a slightly newer OS so I can start avoid these problems. Of course, I installed prefix in the first place just to get some more modern tools on top of the ancient server install. Though if an upgrade isn't going to happen soon, your suggestion makes a lot of sense. Ulirch, Thanks, your suggestion did rid of the similar compiling problem I had compiling m4 and tar, but not unfortunately emacs. As best I can tell emacs seems to be changing the CFLAGS and removing the -fgnu89-inline flag in the configure script. I this still an issue with later Emacs versions? we'd have to recheck with current packages |