Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874093 - app-misc/graphlcd-base-2.0.3-r2 - clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Summary: app-misc/graphlcd-base-2.0.3-r2 - clang-15: error: linker command failed with...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
: 870976 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-02 16:09 UTC by Toralf Förster
Modified: 2022-11-10 00:10 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.60 KB, text/plain)
2022-10-02 16:09 UTC, Toralf Förster
Details
app-misc:graphlcd-base-2.0.3-r2:20221002-154028.log (app-misc:graphlcd-base-2.0.3-r2:20221002-154028.log,12.01 KB, text/plain)
2022-10-02 16:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,242.51 KB, text/plain)
2022-10-02 16:09 UTC, Toralf Förster
Details
environment (environment,62.47 KB, text/plain)
2022-10-02 16:09 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.53 KB, application/x-bzip)
2022-10-02 16:09 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,17.52 KB, application/x-bzip)
2022-10-02 16:09 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-02 16:09:00 UTC
x86_64-pc-linux-gnu-ld: error: undefined symbol: vtable for __cxxabiv1::__class_type_info
>>> referenced by imagefile.c
>>>               imagefile.o:(typeinfo for GLCD::cImageFile)
>>> the vtable symbol may be undefined because the class is missing its key function (see https://lld.llvm.org/missingkeyfunction)
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:72: libglcdgraphics.so.2.1.0] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-misc/graphlcd-base-2.0.3-r2/work/graphlcd-base-2.0.3/glcdgraphics'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20221001-020003

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
3)	Eclipse Temurin JRE 8.345_p01 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-jre-bin-8 
  [3]   openjdk-jre-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit b067ed4e882b30190977d8980aefe00ef0e5d383
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 2 15:03:46 2022 +0000

    2022-10-02 15:03:46 UTC

emerge -qpvO app-misc/graphlcd-base
[ebuild  N    ] app-misc/graphlcd-base-2.0.3-r2  USE="graphicsmagick -fontconfig -freetype -imagemagick" LCD_DEVICES="-ax206dpf -picolcd_256x64 -vnc"
Comment 1 Toralf Förster gentoo-dev 2022-10-02 16:09:01 UTC
Created attachment 815695 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-02 16:09:02 UTC
Created attachment 815698 [details]
app-misc:graphlcd-base-2.0.3-r2:20221002-154028.log
Comment 3 Toralf Förster gentoo-dev 2022-10-02 16:09:04 UTC
Created attachment 815701 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-02 16:09:06 UTC
Created attachment 815704 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-02 16:09:07 UTC
Created attachment 815707 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-02 16:09:08 UTC
Created attachment 815710 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-08 01:09:12 UTC
*** Bug 870976 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2022-11-10 00:10:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e68224d793a277fcb79c65a5438be381046db9

commit 97e68224d793a277fcb79c65a5438be381046db9
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-11-08 22:49:50 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-11-10 00:05:10 +0000

    app-misc/graphlcd-base: fix compilation with clang
    
    Closes: https://bugs.gentoo.org/874093
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../files/graphlcd-base-2.0.3-clang.patch          |  63 +++
 .../files/graphlcd-base-2.0.3-cpp.patch            | 501 +++++++++++++++++++++
 ...0.3-r2.ebuild => graphlcd-base-2.0.3-r3.ebuild} |  24 +-
 3 files changed, 578 insertions(+), 10 deletions(-)