Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel compiling failed error arch/x86/entry/vdso
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45435
Location: 56N 3W

PostPosted: Thu Apr 23, 2020 8:14 pm    Post subject: Reply with quote

Algori,

emerge -K installs a binary package or fails.

Where did you get the binary packages from?
As your command does not give versions, its possible you only reinstalled versions your built incorrectly yourself.

Further, slotted packages like binutils and gcc need to be selected to make them active. Installing alone is not enough.
You need to keep careful track of versions to be sure you are actually using the packages from the binhost.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Algori
n00b
n00b


Joined: 02 Jan 2018
Posts: 41
Location: Leipzig

PostPosted: Fri Apr 24, 2020 8:51 am    Post subject: Reply with quote

sounds stupid, but if I emerge
Code:

emerge -1Kav sys-devel/binutils sys-devel/binutils-config

It doesn't work before, since I downloaded the packages from binhost, it does.
But more important, the packages are mentioned by emerge and highlighted by purple, violet color. It should be the right one, but I'm not sure anymore what @world does, that why I redo everything.

Did I forget something? which packages I do need? How can I find out and should I try to get the new gcc 9.3 version? If I got two versions by binhost an older one and a new, emerge will took the new one, right?

Whats going wrong?

If i should upgrade the gcc, I will read some about by gentoowiki.

because
Code:

 * Switching native-compiler to x86_64-pc-linux-gnu-9.2.0 ...>>> Regenerating /etc/ld.so.cache...
                                                   [ ok ]
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
 * The current gcc config appears valid, so it will not be
 * automatically switched for you.  If you would like to
 * switch to the newly installed gcc version, do the
 * following:

 * gcc-config x86_64-pc-linux-gnu-9.3.0
 * source /etc/profile

 * Switching native-compiler to x86_64-pc-linux-gnu-9.2.0 ...>>> Regenerating /etc/ld.so.cache...
                                                   [ ok ]

 * If you have issues with packages unable to locate libstdc++.la,
 * then try running 'fix_libtool_files.sh' on the old gcc versions.

 * You might want to review the GCC upgrade guide when moving between
 * major versions (like 4.2 to 4.3):
 * https://wiki.gentoo.org/wiki/Upgrading_GCC

>>> sys-devel/gcc-9.3.0 merged.
>>> Regenerating /etc/ld.so.cache...


seems to be a regular issue.
I just did switching native-compiler by running gcc-config, seems to work, but still got the output for glibc
Code:

* Messages for package sys-libs/glibc-2.29-r7:

 *
 * Installation of a symlink is blocked by a directory:
 *   '/lib'
 * This symlink will be merged with a different name:
 *   '/lib.backup.0001'
 *
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: sys-libs/glibc-2.29-r7
 *  - /lib/ld-2.29.so
 *  - /lib/ld-linux.so.2
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libasan.so.5.0.0 (sys-devel/gcc-9.2.0-r2)
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libgfortran.so.5.0.0 (sys-devel/gcc-9.2.0-r2)
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libstdc++.so.6.0.27 (sys-devel/gcc-9.2.0-r2)
 *      used by 3 other files
 *  - /lib/libc-2.29.so
 *  - /lib/libc.so.6
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libasan.so.5.0.0 (sys-devel/gcc-9.2.0-r2)
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libatomic.so.1.2.0 (sys-devel/gcc-9.2.0-r2)
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libgcc_s.so.1 (sys-devel/gcc-9.2.0-r2)
 *      used by 18 other files
 *  - /lib/libdl-2.29.so
 *  - /lib/libdl.so.2
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libasan.so.5.0.0 (sys-devel/gcc-9.2.0-r2)
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libgomp.so.1.0.0 (sys-devel/gcc-9.2.0-r2)
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libubsan.so.1.0.0 (sys-devel/gcc-9.2.0-r2)
 *      used by 4 other files
 *  - /lib/libm-2.29.so
 *  - /lib/libm.so.6
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libasan.so.5.0.0 (sys-devel/gcc-9.2.0-r2)
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libgfortran.so.5.0.0 (sys-devel/gcc-9.2.0-r2)
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libquadmath.so.0.0.0 (sys-devel/gcc-9.2.0-r2)
 *      used by 7 other files
 *  - /lib/libpthread-2.29.so
 *  - /lib/libpthread.so.0
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libasan.so.5.0.0 (sys-devel/gcc-9.2.0-r2)
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libatomic.so.1.2.0 (sys-devel/gcc-9.2.0-r2)
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libgomp.so.1.0.0 (sys-devel/gcc-9.2.0-r2)
 *      used by 7 other files
 *  - /lib/librt-2.29.so
 *  - /lib/librt.so.1
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libasan.so.5.0.0 (sys-devel/gcc-9.2.0-r2)
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libubsan.so.1.0.0 (sys-devel/gcc-9.2.0-r2)
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/32/libasan.so.5.0.0 (sys-devel/gcc-9.3.0)
 *      used by /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/32/libubsan.so.1.0.0 (sys-devel/gcc-9.3.0)


they does not match? or is it about symlink?

Code:

(chroot) livecd /usr/src/linux # emerge --info
Portage 2.3.89 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.29-r7, 4.5.2-aufs-r1 x86_64)
=================================================================
System uname: Linux-4.5.2-aufs-r1-x86_64-Intel-R-_Pentium-R-_3558U_@_1.70GHz-with-gentoo-2.6
KiB Mem:     3950976 total,    364148 free
KiB Swap:    3906244 total,   1509116 free
Timestamp of repository gentoo: Thu, 09 Apr 2020 00:45:01 +0000
Head commit of repository gentoo: 9b35a0b65fc761a70a922adff490dcdc512b6dc3
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r2::gentoo, 3.6.10-r1::gentoo, 3.7.7-r1::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo, 9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes


Is it a problem, I leave chroot, if I do source /etc/profile, or . /etc/profile


Thank you for your help, and patients.

greetings algori


btw, i did this too
Code:

(chroot) livecd /usr/src/linux # fix_libtool_files.sh gcc/9.2.0
Scanning libtool files for hardcoded gcc library paths...
 *   [1/6] Scanning /lib ...
 *   [2/6] Scanning /usr/lib ...
 *   [3/6] Scanning /lib64 ...
 *   [4/6] Scanning /usr/lib64 ...
 *   [5/6] Scanning /usr/local/lib ...
 *   [6/6] Scanning /usr/local/lib64 ...
[/
code]
Back to top
View user's profile Send private message
Algori
n00b
n00b


Joined: 02 Jan 2018
Posts: 41
Location: Leipzig

PostPosted: Sun Apr 26, 2020 11:02 am    Post subject: Reply with quote

is it possible to cp the wgetpaste information back?
so I could try the dualboot option antix and gentoo, to have some system I can work with, because, I really need to.
But I also want to get familiar with gentoo, it seems to be the best option. I like to know more about and how to handle every hardware in my own way, but it will take a lot more time!
either way, I don't want to give up on It
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45435
Location: 56N 3W

PostPosted: Sun Apr 26, 2020 11:41 am    Post subject: Reply with quote

Algori,

Pasetbins do not last very long. If yours is still there, you can get it back.

Be sure to use the Raw option. Go to your pastebin. Click the raw button.
wget the link in the address bar.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum