Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 697090

Summary: games-puzzle/tod-0-r1 : /.../ld: rec.o: undefined reference to symbol fdiv@@GLIBC_2.28
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: redblade7
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-puzzle:tod-0-r1:20191009-030905.log
logs.tbz2

Description Toralf Förster gentoo-dev 2019-10-09 17:21:38 UTC
      |          ldiv
gcc -Wl,-O1 -Wl,--as-needed -o tod-debug.exe hiscore.o rec.o scrctl.o tetanus.o crc.o allegdlg.o hgrcos.o `allegro-config --libs`
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: rec.o: undefined reference to symbol 'fdiv@@GLIBC_2.28'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [makefile:14: rec.exe] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20191006-021754

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.38.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 09 Oct 2019 01:05:58 +0000

emerge -qpvO games-puzzle/tod
[ebuild  N    ] games-puzzle/tod-0-r1
Comment 1 Toralf Förster gentoo-dev 2019-10-09 17:21:40 UTC
Created attachment 592308 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-10-09 17:21:43 UTC
Created attachment 592310 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-10-09 17:21:46 UTC
Created attachment 592312 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-10-09 17:21:49 UTC
Created attachment 592314 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-10-09 17:21:51 UTC
Created attachment 592316 [details]
games-puzzle:tod-0-r1:20191009-030905.log
Comment 6 Toralf Förster gentoo-dev 2019-10-09 17:21:54 UTC
Created attachment 592318 [details]
logs.tbz2
Comment 7 Red 2019-12-09 03:09:22 UTC
Having this same problem
Comment 8 Larry the Git Cow gentoo-dev 2020-02-14 02:11:57 UTC
The bug has been closed via the following commit(s):

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

commit 4c0fda88a281ca340ccb3849a166e010552a1b18
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2020-02-14 01:59:22 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2020-02-14 02:10:11 +0000

    games-puzzle/tod: add patch to fix fixed point math functions
    
    Closes: https://bugs.gentoo.org/697090
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 games-puzzle/tod/files/tod-0-allegro.patch         | 154 +++++++++++++++++++++
 .../tod/{tod-0-r1.ebuild => tod-0-r2.ebuild}       |   9 +-
 2 files changed, 159 insertions(+), 4 deletions(-)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-26 05:27:22 UTC
*** Bug 709400 has been marked as a duplicate of this bug. ***