Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928955 - sys-apps/flashrom-1.3.0-r2 - ld.lld: error: version script assignment of LIBFLASHROM_1.0 to symbol flashrom_board_info failed: symbol not defined
Summary: sys-apps/flashrom-1.3.0-r2 - ld.lld: error: version script assignment of LIBF...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-08 20:05 UTC by Toralf Förster
Modified: 2024-06-28 19:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.92 KB, text/plain)
2024-04-08 20:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,99.26 KB, text/plain)
2024-04-08 20:06 UTC, Toralf Förster
Details
environment (environment,131.37 KB, text/plain)
2024-04-08 20:06 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.18 KB, application/x-xz)
2024-04-08 20:06 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,10.71 KB, application/x-xz)
2024-04-08 20:06 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,182.65 KB, text/plain)
2024-04-08 20:06 UTC, Toralf Förster
Details
sys-apps:flashrom-1.3.0-r2:20240408-193221.log (sys-apps:flashrom-1.3.0-r2:20240408-193221.log,162.53 KB, text/plain)
2024-04-08 20:06 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,38.03 KB, application/x-xz)
2024-04-08 20:06 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,2.42 KB, application/x-xz)
2024-04-08 20:06 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 2024-04-08 20:05:59 UTC
too long lines were shrinked:

[87/92] clang -Iflashrom.p -I. -I../flashrom-v1.3.0 -I../flashrom-v1.3.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -Wshadow -Wmissing-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-address-of-packed-member -Wno-enum-conversion -Wno-missing-
[88/92] clang -Iflashrom.p -I. -I../flashrom-v1.3.0 -I../flashrom-v1.3.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -Wshadow -Wmissing-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-address-of-packed-member -Wno-enum-conversion -Wno-missing-
[89/92] rm -f libflashrom.a && llvm-ar csrD libflashrom.a libflashrom.so.1.0.0.p/82802ab.c.o libflashrom.so.1.0.0.p/at45db.c.o libflashrom.so.1.0.0.p/bitbang_spi.c.o libflashrom.so.1.0.0.p/edi.c.o libflashrom.so.1.0.0.p/en29lv640b.c.o libflashrom.so.1.0.0.p/flashchips.c.o libflashrom.so.1.0.0.p/flas
[90/92] clang  -o libflashrom.so.1.0.0 libflashrom.so.1.0.0.p/82802ab.c.o libflashrom.so.1.0.0.p/at45db.c.o libflashrom.so.1.0.0.p/bitbang_spi.c.o libflashrom.so.1.0.0.p/edi.c.o libflashrom.so.1.0.0.p/en29lv640b.c.o libflashrom.so.1.0.0.p/flashchips.c.o libflashrom.so.1.0.0.p/flashrom.c.o libflashro
FAILED: libflashrom.so.1.0.0 
clang  -o libflashrom.so.1.0.0 libflashrom.so.1.0.0.p/82802ab.c.o libflashrom.so.1.0.0.p/at45db.c.o libflashrom.so.1.0.0.p/bitbang_spi.c.o libflashrom.so.1.0.0.p/edi.c.o libflashrom.so.1.0.0.p/en29lv640b.c.o libflashrom.so.1.0.0.p/flashchips.c.o libflashrom.so.1.0.0.p/flashrom.c.o libflashrom.so.1.0
ld.lld: error: version script assignment of 'LIBFLASHROM_1.0' to symbol 'flashrom_board_info' failed: symbol not defined
ld.lld: error: version script assignment of 'LIBFLASHROM_1.0' to symbol 'flashrom_chipset_info' failed: symbol not defined
ld.lld: error: version script assignment of 'LIBFLASHROM_1.0' to symbol 'flashrom_flashchip_info' failed: symbol not defined

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm-20240407-091255

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.3+libcxx
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.3+libcxx
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1
  [2]   php8.3 *
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit ab6a7c564648e86be7eb3a485d827101ccfb593c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 8 19:04:01 2024 +0000

    Merge updates from master

emerge -qpvO sys-apps/flashrom
[ebuild  N    ] sys-apps/flashrom-1.3.0-r2  USE="atavia buspirate-spi ch341a-spi dediprog developerbox-spi digilent-spi dirtyjtag-spi drkaiser dummy ft2232-spi gfxnvidia internal internal-dmi it8212 linux-mtd linux-spi nic3com nicintel nicintel-eeprom nicintel-spi nicrealtek ogp-spi pickit2-spi pony-spi raiden-debug-spi rayer-spi satamv satasii serprog stlinkv3-spi usbblaster-spi -atahpt -atapromise -jlink-spi -mediatek-i2c-spi -mstarddc-spi -nicnatsemi -parade-lspcon -realtek-mst-i2c-spi -test -tools"
Comment 1 Toralf Förster gentoo-dev 2024-04-08 20:06:00 UTC
Created attachment 889951 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-08 20:06:01 UTC
Created attachment 889952 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-08 20:06:02 UTC
Created attachment 889953 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-08 20:06:03 UTC
Created attachment 889954 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-08 20:06:04 UTC
Created attachment 889955 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-08 20:06:06 UTC
Created attachment 889956 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2024-04-08 20:06:07 UTC
Created attachment 889957 [details]
sys-apps:flashrom-1.3.0-r2:20240408-193221.log
Comment 8 Toralf Förster gentoo-dev 2024-04-08 20:06:08 UTC
Created attachment 889958 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-04-08 20:06:09 UTC
Created attachment 889959 [details]
var.tmp.clang.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-06-28 19:08:19 UTC
The bug has been closed via the following commit(s):

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

commit b3a9f5e9e86ba28ddf9888c2867467c71129bbbd
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2024-06-28 19:00:39 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2024-06-28 19:08:10 +0000

    sys-apps/flashrom-1.3.0-r2: fix libflashrom mapfile #928955
    
    Closes: https://bugs.gentoo.org/928955
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 .../files/flashrom-1.3.0-libflashrom.patch         | 32 ++++++++++++++++++++++
 .../files/flashrom-1.3.0-llvm-dummyflasher.patch   | 11 ++++++++
 sys-apps/flashrom/flashrom-1.3.0-r2.ebuild         |  1 +
 3 files changed, 44 insertions(+)