Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cross-aarch64-unknown-linux-gnu/glibc-2.27-r6 update error
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
alexander_ro
Apprentice
Apprentice


Joined: 22 Nov 2014
Posts: 171

PostPosted: Tue Dec 04, 2018 10:11 am    Post subject: cross-aarch64-unknown-linux-gnu/glibc-2.27-r6 update error Reply with quote

Hi Mädels ... Jungs ... :)

Bei einem "emerge --ask --update --deep --with-bdeps=y --newuse world" wird das Update der glibc für ARM mit dem Fehler:

Code:

 * Checking general environment sanity.
 * gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'aarch64-unknown-linux-gnu-gcc'
 * Checking gcc for __thread support ...                                                                                                                                                       [ !! ]

 * Could not find a gcc that supports the __thread directive!
 * Please update your binutils/gcc and try again.
 * ERROR: cross-aarch64-unknown-linux-gnu/glibc-2.27-r6::local-crossdev failed (pretend phase):
 *   No __thread support in gcc!
 *
 * Call stack:
 *              ebuild.sh, line 124:  Called pkg_pretend
 *   glibc-2.27-r6.ebuild, line 723:  Called sanity_prechecks
 *   glibc-2.27-r6.ebuild, line 692:  Called die
 * The specific snippet of code:
 *            die "No __thread support in gcc!"


Wie bekommt man den den fehlenden Support für __thread?

Grüße
Alexander

<Edit>
Ich hatte vorher nur geschaut ob der "aarch64-unknown-linux-gnu-gcc" vorhanden ist aber nicht ob er auch funktioniert. Leider funktioniert der Compiler nur wenn man die Versionsnummer an den Namen anhängt. Siehe folgende Terminal ausgaben:

Code:

alien /usr/bin # /usr/bin/aarch64-unknown-linux-gnu-gcc
gcc-config: error: could not run/locate 'aarch64-unknown-linux-gnu-gcc'
alien /usr/bin # /usr/bin/aarch64-unknown-linux-gnu-gcc-ar
gcc-config: error: could not run/locate 'aarch64-unknown-linux-gnu-gcc-ar'
alien /usr/bin # /usr/bin/aarch64-unknown-linux-gnu-gcc-nm
gcc-config: error: could not run/locate 'aarch64-unknown-linux-gnu-gcc-nm'
alien /usr/bin # /usr/bin/aarch64-unknown-linux-gnu-gcc-ranlib
gcc-config: error: could not run/locate 'aarch64-unknown-linux-gnu-gcc-ranlib'
alien /usr/bin # /usr/bin/aarch64-unknown-linux-gnu-gcc-7.3.0 -v
Es werden eingebaute Spezifikationen verwendet.
COLLECT_GCC=/usr/bin/aarch64-unknown-linux-gnu-gcc-7.3.0
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/aarch64-unknown-linux-gnu/7.3.0/lto-wrapper
Ziel: aarch64-unknown-linux-gnu
Konfiguriert mit: /var/tmp/portage/cross-aarch64-unknown-linux-gnu/gcc-7.3.0-r3/work/gcc-7.3.0/configure --host=x86_64-pc-linux-gnu --target=aarch64-unknown-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/aarch64-unknown-linux-gnu/gcc-bin/7.3.0 --includedir=/usr/lib/gcc/aarch64-unknown-linux-gnu/7.3.0/include --datadir=/usr/share/gcc-data/aarch64-unknown-linux-gnu/7.3.0 --mandir=/usr/share/gcc-data/aarch64-unknown-linux-gnu/7.3.0/man --infodir=/usr/share/gcc-data/aarch64-unknown-linux-gnu/7.3.0/info --with-gxx-include-dir=/usr/lib/gcc/aarch64-unknown-linux-gnu/7.3.0/include/g++-v7 --with-python-dir=/share/gcc-data/aarch64-unknown-linux-gnu/7.3.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 7.3.0-r3 p1.4' --disable-esp --enable-libstdcxx-time --enable-poison-system-directories --with-sysroot=/usr/aarch64-unknown-linux-gnu --disable-bootstrap --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-altivec --disable-fixed-point --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer --enable-default-pie --enable-default-ssp
Thread-Modell: posix
gcc-Version 7.3.0 (Gentoo 7.3.0-r3 p1.4)


Hat jemand vielleicht eine Idee warum der nicht laufen mag bzw. wie man das reparieren kann?
</Edit>
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1792
Location: Oranienburg/Germany

PostPosted: Tue Dec 04, 2018 11:49 am    Post subject: Reply with quote

Hi,

was sagt denn "gcc-config -l"?

MfG. Stefan
_________________
1st: i5-4570, 16GB, 1.75TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 16GB, 10,5TB
4th: Asus N61VN, 8GB, 240GB
5th: C2D T7200, 2GB, 16GB USB + NFS
Back to top
View user's profile Send private message
alexander_ro
Apprentice
Apprentice


Joined: 22 Nov 2014
Posts: 171

PostPosted: Tue Dec 04, 2018 12:21 pm    Post subject: Reply with quote

Schon mal danke für Deine Hilfe ... :)

Das sagt es:

Code:

alien /home/alex # gcc-config -l
 [1] aarch64-unknown-linux-gnu-7.3.0 *

 [2] x86_64-pc-linux-gnu-7.3.0 *
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1792
Location: Oranienburg/Germany

PostPosted: Tue Dec 04, 2018 3:26 pm    Post subject: Reply with quote

Hi,

versuch mal "gcc-config 1 && gcc-config 2 && source /etc/profile" und dann einfach nochmal den Updateprozess starten.

MfG. Stefan
_________________
1st: i5-4570, 16GB, 1.75TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 16GB, 10,5TB
4th: Asus N61VN, 8GB, 240GB
5th: C2D T7200, 2GB, 16GB USB + NFS
Back to top
View user's profile Send private message
alexander_ro
Apprentice
Apprentice


Joined: 22 Nov 2014
Posts: 171

PostPosted: Tue Dec 04, 2018 5:16 pm    Post subject: Reply with quote

Das wollte trotzdem nicht gehen. Ich habe jetzt einfach den ARM Compiler entfernt und dann neu gebaut. Nicht die Feine Art aber es hat geholfen. Ich bin irgendwie nicht darauf gekommen was da Schiefgegangen ist. Aber nun geht es ja wieder ... :)

Danke
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
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