Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Am I in trouble now?
Date: Sun, 03 Dec 2017 18:56:40
Message-Id: 20171203185619.n3ysxkc7bnrfrvxl@solfire
1 Hi,
2
3 From the news I did everything to switch to the 17th profile EXCEPT
4 emerge -e @world.
5
6 One application which was recompiled was gcc-7.20.
7
8 From my undertsand/point of view gcc now has to have the PIE-feature
9
10 gcc-bin/7.2.0>l
11 total 6676
12 lrwxrwxrwx 1 root root 23 2017-12-02 16:36 c++ -> x86_64-pc-linux-gnu-c++
13 lrwxrwxrwx 1 root root 23 2017-12-02 16:36 cpp -> x86_64-pc-linux-gnu-cpp
14 lrwxrwxrwx 1 root root 23 2017-12-02 16:36 g++ -> x86_64-pc-linux-gnu-g++
15 lrwxrwxrwx 1 root root 23 2017-12-02 16:36 gcc -> x86_64-pc-linux-gnu-gcc
16 -rwxr-xr-x 2 root root 26896 2017-12-02 16:36 gcc-ar
17 -rwxr-xr-x 2 root root 26896 2017-12-02 16:36 gcc-nm
18 -rwxr-xr-x 2 root root 26896 2017-12-02 16:36 gcc-ranlib
19 lrwxrwxrwx 1 root root 24 2017-12-02 16:36 gcov -> x86_64-pc-linux-gnu-gcov
20 -rwxr-xr-x 1 root root 495400 2017-12-02 16:36 gcov-dump
21 -rwxr-xr-x 1 root root 515944 2017-12-02 16:36 gcov-tool
22 lrwxrwxrwx 1 root root 28 2017-12-02 16:36 gfortran -> x86_64-pc-linux-gnu-gfortran
23 -rwxr-xr-x 2 root root 1002192 2017-12-02 16:36 x86_64-pc-linux-gnu-c++
24 -rwxr-xr-x 1 root root 998096 2017-12-02 16:36 x86_64-pc-linux-gnu-cpp
25 -rwxr-xr-x 2 root root 1002192 2017-12-02 16:36 x86_64-pc-linux-gnu-g++
26 -rwxr-xr-x 1 root root 998096 2017-12-02 16:36 x86_64-pc-linux-gnu-gcc
27 lrwxrwxrwx 1 root root 23 2017-12-02 16:36 x86_64-pc-linux-gnu-gcc-7.2.0 -> x86_64-pc-linux-gnu-gcc
28 -rwxr-xr-x 2 root root 26896 2017-12-02 16:36 x86_64-pc-linux-gnu-gcc-ar
29 -rwxr-xr-x 2 root root 26896 2017-12-02 16:36 x86_64-pc-linux-gnu-gcc-nm
30 -rwxr-xr-x 2 root root 26896 2017-12-02 16:36 x86_64-pc-linux-gnu-gcc-ranlib
31 -rwxr-xr-x 1 root root 639312 2017-12-02 16:36 x86_64-pc-linux-gnu-gcov
32 -rwxr-xr-x 1 root root 1002192 2017-12-02 16:36 x86_64-pc-linux-gnu-gfortran
33
34
35 solfire:gcc-bin/7.2.0>checksec --file x86_64-pc-linux-gnu-c++
36 RELRO STACK CANARY NX PIE RPATH RUNPATH FORTIFY Fortified Fortifiable FILE
37 Partial RELRO Canary found NX enabled No PIE No RPATH No RUNPATH Yes 8 21 x86_64-pc-linux-gnu-c++
38
39
40
41 So...No PIE it says.
42
43 /root #>eselect profile show
44 Current /etc/portage/make.profile symlink:
45 default/linux/amd64/17.0/no-multilib
46
47 Before I start the rebuild of 2000++ packages ...
48 Is this all correct up to this point?
49
50 Cheers
51 Meino

Replies

Subject Author
Re: [gentoo-user] Am I in trouble now? Marc Joliet <marcec@×××.de>