[Bug target/81907] undefined reference to `memset'
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 21 07:51:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|link-failure |
Target|arm |arm-*-*
Component|middle-end |target
Host|x86 |
Version|6.3.1 |unknown
Build|x86 |
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>What is different optimization behavior(implementation) in GCC between cortex-a9 and cortex-a12 -given by mcpu or mtune option ?
Different tuning. Though maybe at -Os should be almost the same except for the
allowance for using the instructions that are in cortex-a12 rather than a9 (for
the -mcpu case).
But really memset is part of the C standard here and you don't use
-fno-hoisting option; though IIRC that still requires memset being included in
your libc.
More information about the Gcc-bugs
mailing list