Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874933 - app-emulation/dlx-1.5.20 - mon.c: error: call to undeclared function DisMicrocode; ISO C99 and
Summary: app-emulation/dlx-1.5.20 - mon.c: error: call to undeclared function DisMicro...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PMASKED, PullRequest
: 882107 (view as bug list)
Depends on:
Blocks: clang-16-porting
  Show dependency tree
Reported: 2022-10-04 16:26 UTC by Toralf Förster
Modified: 2022-12-16 05:10 UTC (History)
2 users (show)

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

emerge-info.txt (emerge-info.txt,18.16 KB, text/plain)
2022-10-04 16:26 UTC, Toralf Förster
app-emulation:dlx-1.5.20:20221004-004839.log (app-emulation:dlx-1.5.20:20221004-004839.log,29.08 KB, text/plain)
2022-10-04 16:26 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,77.07 KB, text/plain)
2022-10-04 16:26 UTC, Toralf Förster
environment (environment,60.42 KB, text/plain)
2022-10-04 16:26 UTC, Toralf Förster
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.40 KB, application/x-bzip)
2022-10-04 16:26 UTC, Toralf Förster
temp.tar.bz2 (temp.tar.bz2,19.95 KB, application/x-bzip)
2022-10-04 16:26 UTC, Toralf Förster

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-04 16:26:52 UTC
/usr/include/string.h:407:35: note: passing argument to parameter '__s' here
extern size_t strlen (const char *__s)
mon.c:873:21: error: call to undeclared function 'DisMicrocode'; ISO C99 and
      later do not support implicit function declarations


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


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
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-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 45199178c8273e968cb989d06dd6cc948dcb202e
Author: Repository mirror & CI <>
Date:   Tue Oct 4 00:30:15 2022 +0000

    2022-10-04 00:30:14 UTC

emerge -qpvO app-emulation/dlx
[ebuild  N    ] app-emulation/dlx-1.5.20
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:26:53 UTC
Created attachment 818782 [details]
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:26:55 UTC
Created attachment 818785 [details]
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:26:56 UTC
Created attachment 818788 [details]
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:26:57 UTC
Created attachment 818791 [details]
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:26:58 UTC
Created attachment 818794 [details]
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:26:59 UTC
Created attachment 818797 [details]
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-20 21:45:51 UTC
*** Bug 882107 has been marked as a duplicate of this bug. ***
Comment 8 Ionen Wolkens gentoo-dev 2022-11-21 01:01:40 UTC
Think this should be last rited, kind of messy and upstream notes they no longer offer help with it (timestamps no newer than 2006, and beside us only Nix seem to package it).
Comment 9 Larry the Git Cow gentoo-dev 2022-12-16 05:10:55 UTC
The bug has been closed via the following commit(s):

commit a1ddda5fc214f17bf6818cdb60ffcfc0789b46ea
Author:     Pascal Jäger <>
AuthorDate: 2022-12-10 12:30:34 +0000
Commit:     Sam James <>
CommitDate: 2022-12-16 05:10:24 +0000

    app-emulation/dlx: revbump, fix build for clang16, fix lto
    - fix implicit function declaration
    - fix lto type mismatch
    Signed-off-by: Pascal Jäger <>
    Signed-off-by: Sam James <>

 app-emulation/dlx/dlx-1.5.20-r1.ebuild             |  34 ++++
 ...1.5.20-fix-implicit-function-declarations.patch | 102 +++++++++++
 .../files/dlx-1.5.20-fix-lto-type-mismatch.patch   | 193 +++++++++++++++++++++
 3 files changed, 329 insertions(+)