Public bug reported:

Ubuntu 24.04.1 LTS

glibc version:
ldd (Ubuntu GLIBC 2.39-0ubuntu8.3) 2.39

gcc version:
gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0


Error reproduction:

gcc -o fmodf fmodf.c -lm -m32 -static


Output of above command:

/usr/bin/ld: /tmp/ccUdOlOk.o: in function `main':
fmodf.c:(.text+0x39): undefined reference to `fmodf'
collect2: error: ld returned 1 exit status

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "fmodf.c"
   https://bugs.launchpad.net/bugs/2098860/+attachment/5858763/+files/fmodf.c

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2098860

Title:
  fmodf not present in static 32 bit build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2098860/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to