Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252338 - media-sound/brutefir creates files with DT_AUXILIARY set to PIC
Summary: media-sound/brutefir creates files with DT_AUXILIARY set to PIC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-24 01:34 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-06-21 02:52 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 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-24 01:34:38 UTC
This will make the ld.so loader to look for a file called PIC, which might be a security issue.

The problem is that it passes -fPIC to the linker, and it does not use gcc as frontend, it uses ld directly. The problem is that -f on ld that produces a DT_AUXILIARY rather than causing any PIC code production.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-06-01 20:19:02 UTC
I just added new version of brutefir to tree, version 1.0k and tried to make it use "gcc" as LD but failed miserabely.

Be my few minute teacher? ;-)
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-06-21 02:52:03 UTC
(In reply to comment #1)
> Be my few minute teacher? ;-)

Fixed it in 1.0k-r1, please review the patch in files/

Thanks for reporting