Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
JoeBox9
Posts: 14 Joined: Mon Jan 02, 2023 2:01 pm
Post
by JoeBox9 » Wed Jan 04, 2023 1:54 pm
Octocontrabass wrote: JoeBox9 wrote: Yeah, I was installing from the AUR but it was taking too long to compile, so I cancelled it in the middle
If you had let it finish, you wouldn't be having these problems.
Run "ls /usr/bin/i686-elf-*" and see if anything is listed.
A lot:
Code: Select all
/usr/bin/i686-elf-c++ /usr/bin/i686-elf-gcc-ranlib
/usr/bin/i686-elf-cpp /usr/bin/i686-elf-gcov
/usr/bin/i686-elf-g++ /usr/bin/i686-elf-gcov-dump
/usr/bin/i686-elf-gcc /usr/bin/i686-elf-gcov-tool
/usr/bin/i686-elf-gcc-11.1.0 /usr/bin/i686-elf-gdb
/usr/bin/i686-elf-gcc-7.1.0 /usr/bin/i686-elf-gdb-add-index
/usr/bin/i686-elf-gcc-ar /usr/bin/i686-elf-lto-dump
/usr/bin/i686-elf-gcc-nm
Octocontrabass
Member
Posts: 5562 Joined: Mon Mar 25, 2013 7:01 pm
Post
by Octocontrabass » Wed Jan 04, 2023 1:56 pm
You haven't finished removing your previous (broken) copy of i686-elf-gcc.
JoeBox9
Posts: 14 Joined: Mon Jan 02, 2023 2:01 pm
Post
by JoeBox9 » Wed Jan 04, 2023 1:59 pm
Octocontrabass wrote: You haven't finished removing your previous (broken) copy of i686-elf-gcc.
yay can't find it:
Code: Select all
yay -R i686-elf-gcc
error: target not found: i686-elf-gcc[
Octocontrabass
Member
Posts: 5562 Joined: Mon Mar 25, 2013 7:01 pm
Post
by Octocontrabass » Wed Jan 04, 2023 2:18 pm
I'm not familiar with that package manager, so I can't offer you any specific advice on how to tell it to clean up the leftover files.
Personally, I would try installing the AUR package again and see if it overwrites them. This may not be the best idea though.
JoeBox9
Posts: 14 Joined: Mon Jan 02, 2023 2:01 pm
Post
by JoeBox9 » Thu Jan 05, 2023 5:58 am
Octocontrabass wrote: I'm not familiar with that package manager, so I can't offer you any specific advice on how to tell it to clean up the leftover files.
Personally, I would try installing the AUR package again and see if it overwrites them. This may not be the best idea though.
I tried installing i686-ellf-binutils, it installed quickly, then I installed i686-elf-gcc as you said removing. It said that some files in /usr/bin/ exist and then I removed them and now it says this:
Code: Select all
ldconfig: /usr/lib/libnvrtc.so.11.0 is not a symbolic link
ldconfig: /usr/lib/libnvrtc-builtins.so.11.0 is not a symbolic link
but it ran successfully without an error code. I tried compiling everything, and it was successful and booted successfully in qemu, but would the symbolic link errors do anything? How do I fix them?
Octocontrabass
Member
Posts: 5562 Joined: Mon Mar 25, 2013 7:01 pm
Post
by Octocontrabass » Thu Jan 05, 2023 11:49 am
JoeBox9 wrote: would the symbolic link errors do anything?
Not for libnvrtc or libnvrtc-builtins.
JoeBox9 wrote: How do I fix them?
Remove the package that incorrectly installed libnvrtc and libnvrtc-builtins.
JoeBox9
Posts: 14 Joined: Mon Jan 02, 2023 2:01 pm
Post
by JoeBox9 » Thu Jan 05, 2023 1:44 pm
Octocontrabass wrote: JoeBox9 wrote: would the symbolic link errors do anything?
Not for libnvrtc or libnvrtc-builtins.
JoeBox9 wrote: How do I fix them?
Remove the package that incorrectly installed libnvrtc and libnvrtc-builtins.
Which one is that?
Octocontrabass
Member
Posts: 5562 Joined: Mon Mar 25, 2013 7:01 pm
Post
by Octocontrabass » Thu Jan 05, 2023 2:05 pm
I don't know, try asking your package manager. (Something like "pacman -Qo /usr/lib/libnvrtc.so.11.0" maybe?)
JoeBox9
Posts: 14 Joined: Mon Jan 02, 2023 2:01 pm
Post
by JoeBox9 » Thu Jan 05, 2023 2:30 pm
Octocontrabass wrote: I don't know, try asking your package manager. (Something like "pacman -Qo /usr/lib/libnvrtc.so.11.0" maybe?)
Code: Select all
error: No package owns /usr/lib/libnvrtc.so.11.0
Octocontrabass
Member
Posts: 5562 Joined: Mon Mar 25, 2013 7:01 pm
Post
by Octocontrabass » Thu Jan 05, 2023 5:53 pm
I guess whatever put them there wasn't part of your package manager.
If you can't think of anything that might use those libraries, try removing them. Keep a backup in case they turn out to be important.