Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473512 - media-gfx/splashutils-1.5.4.4-r2 /usr/bin/i686-pc-linux-gnu-ld: error in /usr/lib/klibc/lib/libc.so(.eh_frame); no .eh_frame_hdr table will be created.
Summary: media-gfx/splashutils-1.5.4.4-r2 /usr/bin/i686-pc-linux-gnu-ld: error in /usr...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Asaf Gery
URL:
Whiteboard:
Keywords:
: 486136 491512 495264 581626 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-16 17:31 UTC by Anton Kochkov
Modified: 2017-06-17 07:54 UTC (History)
6 users (show)

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


Attachments
full build log (splashutils_build.log,15.77 KB, application/octet-stream)
2013-06-16 17:31 UTC, Anton Kochkov
Details
emerge --info output (emerge_info.log,17.08 KB, text/plain)
2013-06-16 17:31 UTC, Anton Kochkov
Details
Patch to disable PIE for klibc (pie.patch,717 bytes, patch)
2013-12-13 22:58 UTC, Hongjiu Zhang
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2013-06-16 17:31:29 UTC
Created attachment 351128 [details]
full build log

Making all in libs
  CONF    libz.a
  CONF    libjpeg.a
  MAKE    zlib.a
  CONF    libfreetype.a
  MAKE    libjpeg.a
  MAKE    libfreetype.a
  CONF    libpng.a
  MAKE    libpng.a
/usr/lib/klibc/lib/libc.so: In function `__x86.get_pc_thunk.cx':
(.text+0x3230): multiple definition of `__x86.get_pc_thunk.cx'
.libs/jdinput.o:jdinput.c:(.text.__x86.get_pc_thunk.cx[__x86.get_pc_thunk.cx]+0x0): first defined here
/usr/lib/klibc/lib/libc.so: In function `__x86.get_pc_thunk.bx':
(.text+0x85): multiple definition of `__x86.get_pc_thunk.bx'
.libs/jcapimin.o:jcapimin.c:(.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]+0x0): first defined here
/usr/bin/i686-pc-linux-gnu-ld: error in /usr/lib/klibc/lib/libc.so(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/i686-pc-linux-gnu-ld: warning: cannot find entry symbol main; defaulting to 0000000008048140
make[3]: *** [libjpeg.la] Error 1
make[2]: *** [libjpeg.a] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 [31;01m*[0m ERROR: media-gfx/splashutils-1.5.4.4-r2 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=media-gfx/splashutils-1.5.4.4-r2'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=media-gfx/splashutils-1.5.4.4-r2'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r2/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r2/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r2/work/splashutils-1.5.4.4'
 [31;01m*[0m S: '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r2/work/splashutils-1.5.4.4'
Comment 1 Anton Kochkov 2013-06-16 17:31:57 UTC
Created attachment 351130 [details]
emerge --info output
Comment 2 Hongjiu Zhang 2013-11-18 15:58:29 UTC
*** Bug 491512 has been marked as a duplicate of this bug. ***
Comment 3 Hongjiu Zhang 2013-11-18 16:01:31 UTC
While rebuilding klibc with -nopie toolchain suppress this problem, is it possible that tricks in #103437 do not work for some parts?
Comment 4 Hongjiu Zhang 2013-12-13 22:57:34 UTC
I try to disable PIE for klibc. CC'ing hardened team. Please check whether the patch is acceptable. Thank you.
Comment 5 Hongjiu Zhang 2013-12-13 22:58:09 UTC
Created attachment 365286 [details, diff]
Patch to disable PIE for klibc
Comment 6 Hongjiu Zhang 2013-12-13 23:00:17 UTC
#486136 might be a duplicate of this.
Comment 7 Sergey Popov gentoo-dev 2013-12-15 10:39:16 UTC
*** Bug 486136 has been marked as a duplicate of this bug. ***
Comment 8 Hongjiu Zhang 2013-12-22 23:33:09 UTC
Sorry, patch doesn't work.
Comment 9 Hongjiu Zhang 2013-12-23 08:19:49 UTC
Please forgive me. I forget to use the patched one to test. I tested it again an it should work correctly. Wish anyone can check this problem.
Comment 10 Anton Kochkov 2013-12-24 19:10:13 UTC
*** Bug 495264 has been marked as a duplicate of this bug. ***
Comment 11 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2013-12-26 21:53:45 UTC
Please test klibc-2.0.3; I have improved the original nostdlib fix from bug #103437 to hopefully cover the newer klibc. The upstream build system does still explicitly use -fno-stack-protector on it's own, so YMMV.
Comment 12 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2013-12-26 21:54:07 UTC
(adding kernel-misc so we see updates re klibc)
Comment 13 Anton Kochkov 2016-08-19 06:03:55 UTC
Can't test right now because I can't update klibc because of this bug https://bugs.gentoo.org/show_bug.cgi?id=556142
Comment 14 Anton Kochkov 2016-10-07 07:15:59 UTC
Possible duplicate is https://bugs.gentoo.org/show_bug.cgi?id=581626

Sorry, looks like I forgot I had the similar problems 2 years ago.
Comment 15 Anton Kochkov 2017-01-10 22:39:50 UTC
Haha, now testing this depends on a new bug in klibc https://bugs.gentoo.org/show_bug.cgi?id=605180
Comment 16 Pacho Ramos gentoo-dev 2017-06-17 07:54:00 UTC
*** Bug 581626 has been marked as a duplicate of this bug. ***