Summary: | sys-devel/gcc: -static-libgcc does not appear to work for arm targets | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Richard Yao (RETIRED) <ryao> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | arm, dilfridge, slyfox |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Richard Yao (RETIRED)
2013-01-25 15:21:22 UTC
on arches that lack, in hardware, support for more complicated math functions, they will often link against libgcc_s.so.1 for them. this is not a bug. The documentation claims that passing -static-libgcc will make GCC link to the shared library, but GCC refuses to tell the linker statically link to libgcc under any circumstance. We do not have an explanation for this behavior. I have updated the title to be more descriptive of the issue. Is this still an issue? Do you have minimal example with a function from libgcc? |