Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562522 - sys-devel/crossdev: dwp symlink is left after cross toolchain removal
Summary: sys-devel/crossdev: dwp symlink is left after cross toolchain removal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-08 06:47 UTC by Alexander Tsoy
Modified: 2015-10-16 03:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2015-10-08 06:47:05 UTC
After "crossdev -C armv6j-hardfloat-linux-gnueabi":

$ ls -l /usr/bin/armv6j-hardfloat-linux-gnueabi-dwp
lrwxrwxrwx 1 root root 51 May 17 14:35 /usr/bin/armv6j-hardfloat-linux-gnueabi-dwp -> /usr/libexec/gcc/armv6j-hardfloat-linux-gnueabi/dwp

fix is trivial:

--- crossdev    2015-10-02 19:49:48.468756547 +0300
+++ crossdev    2015-10-08 09:40:40.795518545 +0300
@@ -421,7 +421,7 @@ uninstall() {
 
        # clean out known toolchain files (binutils/gcc)
        for f in \
-               addr2line ar as c++filt dlltool dllwrap embedspu \
+               addr2line ar as c++filt dlltool dllwrap dwp embedspu \
                gcc-{ar,nm,ranlib} gccbug gprof ld nm objcopy objdump \
                ranlib readelf size strings strip windmc windres
        do
Comment 1 Alexander Tsoy 2015-10-12 17:29:55 UTC
It turned out that fixing binutils-config (bug 562524) is enough. And many binutils utilities are missing in the following list in crossdev anyway:

>                 addr2line ar as c++filt dlltool dllwrap embedspu \
>                 gcc-{ar,nm,ranlib} gccbug gprof ld nm objcopy objdump \
>                 ranlib readelf size strings strip windmc windres