Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648758 - <sys-devel/binutils-2.30-r2 lost TEXTREL warning on non-shared objects
Summary: <sys-devel/binutils-2.30-r2 lost TEXTREL warning on non-shared objects
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
Keywords: PATCH
Depends on: binutils-2.30-stable
  Show dependency tree
Reported: 2018-02-25 11:54 UTC by Sergei Trofimovich (RETIRED)
Modified: 2019-03-24 20:53 UTC (History)
1 user (show)

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

binutils-2.30-restore-TEXTREL-warnings.patch (binutils-2.30-restore-TEXTREL-warnings.patch,665 bytes, patch)
2018-02-28 23:40 UTC, Sergei Trofimovich (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2018-02-25 11:54:59 UTC
Noticed it when was debugging bug #566118. gcc is unconditionally built with -fno-PIE -no-pie which means we lose TEXTREL warning.

Last full patch:

First partial patch:

Note how it used to report warning for both shared objects and executables.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2018-02-28 23:40:57 UTC
Created attachment 521522 [details, diff]
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2018-03-01 20:50:35 UTC
Added to gentoo/binutils-2.29.1, gentoo/binutils-2.30, and gentoo/binutils-9999 branch
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2018-03-01 22:14:07 UTC
Filed upstream bug to upstream our extension: