Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 805269 - net-dialup/freeradius-3.0.22-r2 - tls.c:(.text+<snip>): undefined reference to FIPS_mode
Summary: net-dialup/freeradius-3.0.22-r2 - tls.c:(.text+<snip>): undefined reference t...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: No maintainer - Look at if you want to take care of it
Whiteboard: Will be fixed in freeradius-3.0.26 re...
Depends on:
Blocks: openssl-3.0
  Show dependency tree
Reported: 2021-07-30 17:03 UTC by Toralf Förster
Modified: 2022-06-11 05:02 UTC (History)
1 user (show)

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

emerge-info.txt (emerge-info.txt,14.81 KB, text/plain)
2021-07-30 17:03 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,88.44 KB, text/plain)
2021-07-30 17:03 UTC, Toralf Förster
environment (environment,131.25 KB, text/plain)
2021-07-30 17:03 UTC, Toralf Förster
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.28 KB, application/x-bzip)
2021-07-30 17:03 UTC, Toralf Förster
logs.tar.bz2 (logs.tar.bz2,29.45 KB, application/x-bzip)
2021-07-30 17:03 UTC, Toralf Förster
net-dialup:freeradius-3.0.22-r2:20210730-154213.log (net-dialup:freeradius-3.0.22-r2:20210730-154213.log,752.10 KB, text/plain)
2021-07-30 17:03 UTC, Toralf Förster
temp.tar.bz2 (temp.tar.bz2,55.20 KB, application/x-bzip)
2021-07-30 17:03 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 2021-07-30 17:03:09 UTC
Executing: /bin/sh -c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o build/bin/local/radsniff build/objs/src/main/radsniff.o build/objs/src/main/collectd.o -L build/lib/local/.libs -lfreeradius-radius -Wl,-rpath=/var/tmp/portage/net-dialup/freeradius-3.0.22-r2/work/freeradius-server-3.0.22/build/lib/local//.libs -lcrypto -lssl -ltalloc -latomic -lpcre -lcap -lnsl -lresolv -ldl -lpthread -lreadline -lpcap -lcrypto -lssl -ltalloc -latomic -lpcre -lcap -lnsl -lresolv -ldl -lpthread -lreadline -lpcap -Wl,-export-dynamic  
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: build/objs/src/main/tls.o: in function `load_dh_params':
tls.c:(.text+0x31fc): undefined reference to `FIPS_mode'
collect2: error: ld returned 1 exit status
make: *** [scripts/ build/bin/local/radiusd] Error 1
make: *** Waiting for unfinished jobs....
Executing: touch build/bin/local/radsniff 


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j3-20210729-224739


gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
Python 3.9.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 456cab1f10ef9b3a5eb77216e82b89fd5c55c90d
Author: Repository mirror & CI <>
Date:   Fri Jul 30 15:06:43 2021 +0000

    2021-07-30 15:06:42 UTC

emerge -qpvO net-dialup/freeradius
[ebuild  N    ] net-dialup/freeradius-3.0.22-r2  USE="pam readline ssl -debug -firebird -iodbc -kerberos -ldap -memcached -mongodb -mysql -odbc -oracle -pcap -postgres -python -redis -rest -samba -sqlite -systemd" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2021-07-30 17:03:10 UTC
Created attachment 728379 [details]
Comment 2 Toralf Förster gentoo-dev 2021-07-30 17:03:12 UTC
Created attachment 728382 [details]
Comment 3 Toralf Förster gentoo-dev 2021-07-30 17:03:13 UTC
Created attachment 728385 [details]
Comment 4 Toralf Förster gentoo-dev 2021-07-30 17:03:14 UTC
Created attachment 728388 [details]
Comment 5 Toralf Förster gentoo-dev 2021-07-30 17:03:16 UTC
Created attachment 728391 [details]
Comment 6 Toralf Förster gentoo-dev 2021-07-30 17:03:18 UTC
Created attachment 728394 [details]
Comment 7 Toralf Förster gentoo-dev 2021-07-30 17:03:19 UTC
Created attachment 728397 [details]
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2022-03-08 13:07:38 UTC
I've looked into upstream's v3.0.x branch and the openssl-3 fixes are scattered over a huge amount of small commits which are unfortunately even named confusing (for example "let's see if this helps" or "make it ifdef" or "typo") so one has to look into each and every commit in order to verify if it's required for backporting or not. So after cherry-picking at least two dozens of commits, I gave up and think it's better to simply wait for the 3.0.26 release to appear in order to have this fixed...
Comment 9 Rachid Achellal 2022-05-19 04:16:55 UTC
This issue is fixed in release 3.2.0.
Please add the new package version
Comment 10 Larry the Git Cow gentoo-dev 2022-06-11 05:02:01 UTC
The bug has been closed via the following commit(s):

commit c42cf46c03f80f53bd1cad1d287c50064509567a
Author:     Sam James <>
AuthorDate: 2022-06-11 04:53:12 +0000
Commit:     Sam James <>
CommitDate: 2022-06-11 05:01:54 +0000

    net-dialup/freeradius: add 3.2.0
    Signed-off-by: Sam James <>

 net-dialup/freeradius/Manifest                |   1 +
 net-dialup/freeradius/freeradius-3.2.0.ebuild | 309 ++++++++++++++++++++++++++
 2 files changed, 310 insertions(+)