Summary: | app-office/dia-0.97.3-r1 fails to compile: ld.lld: error: .libs/wmf.o: unable to find library from dependent library specifier: gdi32 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | felix.wischke |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 731004, 893356 | ||
Attachments: |
build.log.bz2
other.tar.bz2 lld/clang-17 patch |
Description
Agostino Sarubbo
2020-07-28 10:17:38 UTC
Created attachment 651214 [details]
build.log.bz2
build log and emerge --info
Created attachment 651216 [details]
other.tar.bz2
other logs
tinderbox has reproduced this issue with version 0.97.3-r1 - Updating summary. Created attachment 890851 [details, diff]
lld/clang-17 patch
The problem is related to clang now understanding "#pragma comment( lib, "gdi32" )", which is assumed to only work with MSVC.
While I was at it, I also fixed all compiling problems with clang-17.
Patch tested with gcc/ld.bfd an clang-17/ld.lld
|