Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst] Keine Regel vorhanden, um das Ziel „/usr/lib/gcc/
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
uhai
Veteran
Veteran


Joined: 23 Aug 2007
Posts: 1425
Location: Eppingen, Germany

PostPosted: Sat Jul 09, 2022 9:36 am    Post subject: [gelöst] Keine Regel vorhanden, um das Ziel „/usr/lib/gcc/ Reply with quote

Hallo,

heute habe ich mich getraut, von nouveau auf nvidia umzustellen.... bis ich beim Bauen des geänderten Kernels gescheitert bin:

Code:
 make && make modules_install && make install
  SYNC    include/config/auto.conf.cmd
  CC      scripts/mod/empty.o
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/modpost.o
  CC      scripts/mod/devicetable-offsets.s
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  CC      kernel/bounds.s
  CC      arch/x86/kernel/asm-offsets.s
  CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND objtool
make[4]: *** Keine Regel vorhanden, um das Ziel „/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/stddef.h“,
  benötigt von „/usr/src/linux-5.15.41-gentoo/tools/objtool/fixdep.o“, zu erstellen.  Schluss.
make[3]: *** [Makefile:47: /usr/src/linux-5.15.41-gentoo/tools/objtool/fixdep-in.o] Fehler 2
make[2]: *** [/usr/src/linux-5.15.41-gentoo/tools/build/Makefile.include:5: fixdep] Fehler 2
make[1]: *** [Makefile:69: objtool] Fehler 2
make: *** [Makefile:1371: tools/objtool] Fehler 2


Die Fehlermeldung verstehe ich nicht.... Der Symlink weist auf den verwendeten Kernel 5.15.41. Wo sollte die make-Regel denn liegen?

emerge --info:
Code:
/usr/src/linux # emerge --info
Portage 3.0.30 (python 3.10.5-final-0, default/linux/amd64/17.1/systemd, gcc-11.3.0, glibc-2.34-r13, 5.15.41-gentoo x86_64)
=================================================================
System uname: Linux-5.15.41-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-glibc2.34
KiB Mem:    32846540 total,  22203244 free
KiB Swap:     524284 total,    524284 free
Timestamp of repository gentoo: Sat, 09 Jul 2022 09:00:01 +0000
Head commit of repository gentoo: f47e0dfd9efcdace35f4b87ba9e3273be6d06dbb
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.9.13::gentoo, 3.10.5::gentoo
dev-lang/rust:             1.60.0::gentoo
dev-util/cmake:            3.22.4::gentoo
dev-util/meson:            0.62.2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          250.7::gentoo
sys-devel/autoconf:        2.13-r2::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.4::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.4::gentoo
sys-devel/llvm:            14.0.4::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r13::gentoo
Repositories:

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

mein-repo
    location: /usr/local/portage
    masters: gentoo

mv
    location: /var/lib/layman/mv
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/user/mv.git
    masters: gentoo
    priority: 50

waebbl
    location: /var/lib/layman/waebbl
    sync-type: laymansync
    sync-uri: https://github.com/waebbl/waebbl-gentoo.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://ftp-stud.hs-esslingen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de_DE de"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/home/uhai/Fotos"
SHELL="/bin/bash"
USE="X a52 aac acl alsa amd64 bluetooth bzip2 cdda cddb cdr clamav cli crypt cups dga dri dts dvd dvdr exif ffmpeg flac foomaticdb fortran gdbm gif gphoto2 heif iconv icu ipv6 jbig jpeg jpeg2k lcms lensfun libglvnd libtirpc lisp mmx mp3 mp4 mpeg multilib ncurses nls nptl nvidia ocr ogg opengl openmp pam pcre php png qt5 raw readline scanner seccomp split-usr sse sse2 ssl svg systemd tesseract theora threads tiff truetype udev unicode v4l vcd vdpau vim-syntax wayland webp wmf xattr xine xv xvid xvms zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="bindist mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev libinput wacom" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby 26 ruby 27" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


uhai


Last edited by uhai on Mon Jan 02, 2023 2:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sat Jul 09, 2022 10:53 am    Post subject: Reply with quote

Es ist merkwürdig, dass in der Fehlermeldung "Keine Regel vorhanden, um das Ziel „/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/stddef.h“ noch die GCC Version 11.2.1 auftaucht. Laut "emerge --info" ist diese Version doch nicht mehr installiert?

Falls Du gerade eben erst auf GCC 11.3 upgedated haben solltest: hast Du Dich danach auch abgemeldet und wieder neu angemeldet? Ansonsten stimmen einige Umgebungsvariablen nicht.

Bitte überprüfe, ob 11.2.1 wirklich vollständig deinstalliert ist. Rufe am besten auch noch einmal "gcc-config" und setze GCC 11.3. Entweder .profile sourcen oder ab- und wieder anmelden.

Wie hast Du die Kernel Config geändert? Mit "make config" (gut) oder mit einem Editor die .config editiert (schlecht)?

Hast Du vor dem "make" ein "make clean" laufen gelassen? Wenn nicht, bitte ausführen.
Back to top
View user's profile Send private message
uhai
Veteran
Veteran


Joined: 23 Aug 2007
Posts: 1425
Location: Eppingen, Germany

PostPosted: Sat Jul 09, 2022 12:32 pm    Post subject: Reply with quote

mike155 wrote:


Falls Du gerade eben erst auf GCC 11.3 upgedated haben solltest: hast Du Dich danach auch abgemeldet und wieder neu angemeldet? Ansonsten stimmen einige Umgebungsvariablen nicht.


11.3 ist installiert, aber wann das war, kann ich nicht sagen. Rechner habe ich heute nach 3 oder 4 Tagen erst wieder gestartet....

mike155 wrote:
Bitte überprüfe, ob 11.2.1 wirklich vollständig deinstalliert ist. Rufe am besten auch noch einmal "gcc-config" und setze GCC 11.3. Entweder .profile sourcen oder ab- und wieder anmelden.


Code:
 /usr/src/linux # gcc-config -l
 [1] x86_64-pc-linux-gnu-11.3.0 *

Das sieht für mich gut aus.....

Kernel habe ich mit "make menuconfig" bearbeitet. Hat bisher noch nie Probleme gemacht.... "make clean" probiere ich aus.... und es scheint zu helfen....

D.h. da ist was übrig geblieben beim letzten Kernel bauen?

uhai
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sat Jul 09, 2022 12:46 pm    Post subject: Reply with quote

"make clean" mache ich immer...
  1. nach einer größeren Änderung an der Kernel Config

  2. nach einem Wechsel der Linux Kernel-Hauptversion

  3. nach einer größeren Ladung Linux Kernel-Patches

  4. nach einem Wechsel der GCC Version

  5. wenn komische Fehlermeldung auftreten
Ich habe da aber keine feste Regel - sondern mache das mehr aus dem Gefühl heraus. Immer, wenn es größere Änderungen gab, ist ein "make clean" sinnvoll.
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