Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile starting from nightly-2024-04-15: undefined reference to compiler_builtins::math #2

Open
Enet4 opened this issue Jul 6, 2024 · 1 comment

Comments

@Enet4
Copy link
Owner

Enet4 commented Jul 6, 2024

If the rust toolchain is updated any further, the final compilation stage will fail for the Ferris example.

Building debug executable...
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.10.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.10:(.text+0x1): undefined reference to `compiler_builtins::math::ldexpf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.10.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.10:(.text+0x1): undefined reference to `compiler_builtins::math::trunc'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.10.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.10:(.text+0x1): undefined reference to `compiler_builtins::math::truncf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.10.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.10:(.text+0x1): undefined reference to `compiler_builtins::math::lgamma_r'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.10.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.10:(.text+0x1): undefined reference to `compiler_builtins::math::logf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.10.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.10:(.text+0x1): undefined reference to `compiler_builtins::math::atan2'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.10.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.10:(.text+0x1): undefined reference to `compiler_builtins::math::tanh'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.10.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.10:(.text+0x1): undefined reference to `compiler_builtins::math::floor'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.07.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.07:(.text+0x1): undefined reference to `compiler_builtins::math::asinf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.07.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.07:(.text+0x1): undefined reference to `compiler_builtins::math::sqrt'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.07.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.07:(.text+0x1): undefined reference to `compiler_builtins::math::cbrt'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.07.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.07:(.text+0x1): undefined reference to `compiler_builtins::math::fdim'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.07.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.07:(.text+0x1): undefined reference to `compiler_builtins::math::round'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.07.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.07:(.text+0x1): undefined reference to `compiler_builtins::math::ceil'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.09.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.09:(.text+0x1): undefined reference to `compiler_builtins::math::log1pf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.09.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.09:(.text+0x1): undefined reference to `compiler_builtins::math::rint'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.09.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.09:(.text+0x1): undefined reference to `compiler_builtins::math::roundf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.09.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.09:(.text+0x1): undefined reference to `compiler_builtins::math::fmaf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.09.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.09:(.text+0x1): undefined reference to `compiler_builtins::math::acos'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.09.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.09:(.text+0x1): undefined reference to `compiler_builtins::math::tanhf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.09.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.09:(.text+0x1): undefined reference to `compiler_builtins::math::fmaxf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.09.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.09:(.text+0x1): undefined reference to `compiler_builtins::math::cosh'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.09.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.09:(.text+0x1): undefined reference to `compiler_builtins::math::fmax'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.09.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.09:(.text+0x1): undefined reference to `compiler_builtins::math::tgamma'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.09.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.09:(.text+0x1): undefined reference to `compiler_builtins::math::pow'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.09.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.09:(.text+0x1): undefined reference to `compiler_builtins::math::cbrtf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.12.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.12:(.text+0x1): undefined reference to `compiler_builtins::math::sinf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.12.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.12:(.text+0x1): undefined reference to `compiler_builtins::math::fma'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.12.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.12:(.text+0x1): undefined reference to `compiler_builtins::math::coshf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.12.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.12:(.text+0x1): undefined reference to `compiler_builtins::math::rintf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.12.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.12:(.text+0x1): undefined reference to `compiler_builtins::math::exp2f'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.12.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.12:(.text+0x1): undefined reference to `compiler_builtins::math::fdimf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.12.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.12:(.text+0x1): undefined reference to `compiler_builtins::math::ceilf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.12.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.12:(.text+0x1): undefined reference to `compiler_builtins::math::sqrtf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.13.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.13:(.text+0x1): undefined reference to `compiler_builtins::math::log2f'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.13.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.13:(.text+0x1): undefined reference to `compiler_builtins::math::powf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.13.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.13:(.text+0x1): undefined reference to `compiler_builtins::math::atan'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.13.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.13:(.text+0x1): undefined reference to `compiler_builtins::math::fmodf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.13.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.13:(.text+0x1): undefined reference to `compiler_builtins::math::floorf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.13.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.13:(.text+0x1): undefined reference to `compiler_builtins::math::lgammaf_r'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.13.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.13:(.text+0x1): undefined reference to `compiler_builtins::math::asin'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.13.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.13:(.text+0x1): undefined reference to `compiler_builtins::math::tan'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.13.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.13:(.text+0x1): undefined reference to `compiler_builtins::math::atan2f'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.13.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.13:(.text+0x1): undefined reference to `compiler_builtins::math::ldexp'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.13.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.13:(.text+0x1): undefined reference to `compiler_builtins::math::expf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.13.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.13:(.text+0x1): undefined reference to `compiler_builtins::math::fmod'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.14.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.14:(.text+0x1): undefined reference to `compiler_builtins::math::atanf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.14.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.14:(.text+0x1): undefined reference to `compiler_builtins::math::log2'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.14.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.14:(.text+0x1): undefined reference to `compiler_builtins::math::log'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.14.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.14:(.text+0x1): undefined reference to `compiler_builtins::math::expm1'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.14.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.14:(.text+0x1): undefined reference to `compiler_builtins::math::exp'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.14.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.14:(.text+0x1): undefined reference to `compiler_builtins::math::hypotf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.11.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.11:(.text+0x1): undefined reference to `compiler_builtins::math::sinh'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.11.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.11:(.text+0x1): undefined reference to `compiler_builtins::math::log10f'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.11.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.11:(.text+0x1): undefined reference to `compiler_builtins::math::fmin'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.11.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.11:(.text+0x1): undefined reference to `compiler_builtins::math::acosf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.15.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.15:(.text+0x1): undefined reference to `compiler_builtins::math::hypot'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.15.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.15:(.text+0x1): undefined reference to `compiler_builtins::math::log1p'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.15.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.15:(.text+0x1): undefined reference to `compiler_builtins::math::expm1f'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.15.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.15:(.text+0x1): undefined reference to `compiler_builtins::math::tanf'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.15.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.15:(.text+0x1): undefined reference to `compiler_builtins::math::cos'
/usr/lib/gcc/i686-pc-msdosdjgpp/13.2.0/../../../../i686-pc-msdosdjgpp/bin/ld: ../libferris.a(compiler_builtins-80e2e1818155b01d.compiler_builtins.3e87b78513c8237b-cgu.15.rcgu.o):compiler_builtins.3e87b78513c8237b-cgu.15:(.text+0x1): undefined reference to `compiler_builtins::math::sinhf'
collect2: error: ld returned 1 exit status

These are possibly related issues:

What is known is that compiler_builtins was updated with a tweak that puts math functions with the weak link attribute. It is unclear how we are supposed to fix the situation here.

This pull request includes another update to compiler_builtins, might be worth a try. rust-lang/rust#125016

@Enet4 Enet4 changed the title Does not compile starting from nightly-2024-04-15 Does not compile starting from nightly-2024-04-15: undefined reference to compiler_builtins::math Jul 6, 2024
@Enet4
Copy link
Owner Author

Enet4 commented Jul 28, 2024

Can be fixed by extending the symbols translated by elf2djgpp (cknave/elf2djgpp#5).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant