diff options
| author | H.J. Lu <hjl.tools@gmail.com> | 2024-12-14 20:12:21 +0800 |
|---|---|---|
| committer | H.J. Lu <hjl.tools@gmail.com> | 2024-12-15 05:24:19 +0800 |
| commit | 335ba9b6c1db7030264de7d9e38047f645326e54 (patch) | |
| tree | 685db365cd22f38549c734ab2bc72c121ae9b784 /scripts/glibc_shared_code.py | |
| parent | 65817569adf011b66d197c773df2d9337da5adb3 (diff) | |
| download | glibc-335ba9b6c1db7030264de7d9e38047f645326e54.tar.xz glibc-335ba9b6c1db7030264de7d9e38047f645326e54.zip | |
Return EXIT_UNSUPPORTED if __builtin_add_overflow unavailable
Since GCC 4.9 doesn't have __builtin_add_overflow:
In file included from tst-stringtable.c:180:0:
stringtable.c: In function ‘stringtable_finalize’:
stringtable.c:185:7: error: implicit declaration of function ‘__builtin_add_overflow’ [-Werror=implicit-function-declaration]
else if (__builtin_add_overflow (previous->offset,
^
return EXIT_UNSUPPORTED for GCC 4.9 or older.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'scripts/glibc_shared_code.py')
0 files changed, 0 insertions, 0 deletions
