Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 569844 - app-portage/gentoolkit: revdep-rebuild should auto-ignore .la files that don't point to ELFs
Summary: app-portage/gentoolkit: revdep-rebuild should auto-ignore .la files that don'...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-26 19:26 UTC by Alon Bar-Lev (RETIRED)
Modified: 2020-12-21 20:50 UTC (History)
3 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 Alon Bar-Lev (RETIRED) gentoo-dev 2015-12-26 19:26:42 UTC
# revdep-rebuild

[ 39% ]  *   broken /usr/lib64/gcc/x86_64-w64-mingw32/5.3.0/libvtv.la (requires -lpsapi)

While I see all libraries at /usr/lib64/gcc/x86_64-w64-mingw32/5.3.0 to be pbe and not native, so I believe this should be excluded.

In this case the change in 5.3.0 is that libvtv is linked against psapi.

2015-01-28  Caroline Tice  <cmtice@google.com>

        * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
        include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW.  Add
        port of __fortify_fail on Cygwin and MinGW.  Change ElfW (Addr) to
        uintptr_t on Cygwin and MinGW.

What I find strange is that objdump of /usr/lib/gcc/x86_64-w64-mingw32/5.3.0/libvtv-0.dll I see no imports from psapi.dll, while in sources I do see calls. but this is a different story.
Comment 1 SpanKY gentoo-dev 2015-12-28 19:22:50 UTC
pretty sure this applies to all non-ELF formats.  if revdep-rebuild can't parse dll's, it should just skip them right ?
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2015-12-28 19:30:05 UTC
It parses the .la file :)