-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issuepending-releaseThis issue will be fixed by an approved PR that hasn't been released yet.This issue will be fixed by an approved PR that hasn't been released yet.
Description
Describe the bug
Hi, I'm a Alpine Linux contributor. I was packaging the upgrade from 1.11.400 to the latest release, but noticed the following build failure:
I would appreciate if you could give me hints what might me wrong here. We build our package using fortify-headers.
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
It builds.
Current Behavior
ninja: job failed: : && /usr/bin/g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -flto=auto -U_GLIBCXX_ASSERTIONS -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs tests/aws-cpp-sdk-kinesis-integration-tests/CMakeFiles/aws-cpp-sdk-kinesis-integration-tests.dir/KinesisTests.cpp.o tests/aws-cpp-sdk-kinesis-integration-tests/CMakeFiles/aws-cpp-sdk-kinesis-integration-tests.dir/RunTests.cpp.o -o tests/aws-cpp-sdk-kinesis-integration-tests/aws-cpp-sdk-kinesis-integration-tests -Wl,-rpath,/builds/fossdd/aports/community/aws-sdk-cpp/src/aws-sdk-cpp-1.11.505/build/generated/src/aws-cpp-sdk-kinesis:/builds/fossdd/aports/community/aws-sdk-cpp/src/aws-sdk-cpp-1.11.505/build/tests/testing-resources:/builds/fossdd/aports/community/aws-sdk-cpp/src/aws-sdk-cpp-1.11.505/build/src/aws-cpp-sdk-core generated/src/aws-cpp-sdk-kinesis/libaws-cpp-sdk-kinesis.so.1.11.505 tests/testing-resources/libtesting-resources.so src/aws-cpp-sdk-core/libaws-cpp-sdk-core.so.1.11.505 /usr/lib/libaws-crt-cpp.so /usr/lib/libaws-c-mqtt.so.1.0.0 /usr/lib/libaws-c-event-stream.so.1.0.0 /usr/lib/libaws-c-s3.so.1.0.0 /usr/lib/libaws-c-auth.so.1.0.0 /usr/lib/libaws-c-http.so.1.0.0 /usr/lib/libaws-c-io.so.1.0.0 /usr/lib/libs2n.so.1.0.0 /usr/lib/libaws-c-cal.so.1.0.0 /usr/lib/libcrypto.so /usr/lib/libaws-checksums.so.1.0.0 /usr/lib/libaws-c-compression.so.1.0.0 /usr/lib/libaws-c-sdkutils.so.1.0.0 /usr/lib/libaws-c-common.so.1.0.0 -ldl -lm -lrt -lpthread && :
/usr/include/fortify/stdio.h: In function '__to_xstring.constprop':
/usr/include/fortify/stdio.h:73:28: error: inlining failed in call to 'always_inline' 'vsnprintf': function body can be overwritten at link time
73 | _FORTIFY_FN(vsnprintf) int vsnprintf(char * _FORTIFY_POS0 __s, size_t __n,
| ^
/usr/include/c++/14.2.0/ext/string_conversions.h:113:32: note: called from here
113 | const int __len = __convf(__s, __n, __fmt, __args);
| ^
Reproduction Steps
The exact build recipe is here: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/79324
There are no functional changes between the two versions
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
latest (1.11.505), but also failed with 1.11.497
Compiler and Version used
gcc (Alpine 14.2.0) 14.2.0
Operating System and version
Alpine Linux edge
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issuepending-releaseThis issue will be fixed by an approved PR that hasn't been released yet.This issue will be fixed by an approved PR that hasn't been released yet.