Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324321 - dev-libs/maloc-0.2.1-r3 please stabilize (was: 0.1.3 needs --with-pic for AMD64)
Summary: dev-libs/maloc-0.2.1-r3 please stabilize (was: 0.1.3 needs --with-pic for AMD64)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Markus Dittrich (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
: 324487 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-16 15:38 UTC by JTRiley
Modified: 2012-02-24 22:20 UTC (History)
2 users (show)

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


Attachments
patch for maloc-0.1.3.ebuild that adds --with-pic configure flag (maloc-0.1.3-fpic.patch,318 bytes, patch)
2010-06-16 15:38 UTC, JTRiley
Details | Diff
emerge --info (emerge.info,4.49 KB, text/plain)
2010-06-16 15:39 UTC, JTRiley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JTRiley 2010-06-16 15:38:01 UTC
This problem became apparent when I was compiling sci-chemistry/apbs-1.2.1b-r4 and got this error:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib//libmaloc.a(vio.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/lib//libmaloc.a: could not read symbols: Bad value

I then unpacked the maloc-0.1.3 sources and inspected the configure options to find that they have a --with-pic flag. After modifying the maloc-0.1.3 ebuild (patch attached) to append the --with-pic flag and recompiling maloc, apbs now compiles successfully for me.

~jtriley
Comment 1 JTRiley 2010-06-16 15:38:55 UTC
Created attachment 235577 [details, diff]
patch for maloc-0.1.3.ebuild that adds --with-pic configure flag
Comment 2 JTRiley 2010-06-16 15:39:47 UTC
Created attachment 235579 [details]
emerge --info
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-06-16 19:23:13 UTC
maloc-0.1.x is ancient. It's better to have 0.2.x stabilized
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-06-16 19:24:52 UTC
Arches please do your magic. Thanks!
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2010-06-17 16:44:47 UTC
*** Bug 324487 has been marked as a duplicate of this bug. ***
Comment 6 Markus Meier gentoo-dev 2010-06-21 20:27:58 UTC
amd64/x86 stable
Comment 7 nixnut (RETIRED) gentoo-dev 2010-06-27 14:14:17 UTC
ppc stable