buildroot/toolchain
Max Filippov 306f507f9d toolchain: add variadic MI thunk support flag
GCC uses thunk functions to adjust the 'this' pointer when calling C++
member functions in classes derived with multiple inheritance.
Generation of thunk functions requires support from the compiler back
end. In the absence of that support target-independent code in the C++
front end is used to generate thunk functions, but it does not support
vararg functions.

Support for this feature is currently missing in or1k and xtensa
toolchains.

Add hidden option BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK that
indicates presence of this feature in the toolchain. Add dependency to
packages that require this feature to be built.

Fixes:
http://autobuild.buildroot.net/results/c9e660c764edbd7cf0ae54ab0f0f412464721446/
http://autobuild.buildroot.net/results/9a3bf4b411c418ea78d59e35d23ba865dd453890/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-02-04 21:53:20 +01:00
..
toolchain toolchain: move glibc nsswitch.conf handling to a post-target hook 2018-10-21 01:50:35 +02:00
toolchain-buildroot toolchain/toolchain-buildroot: enable glibc for all little-endian ARCs with atomic ops 2018-11-09 22:02:16 +01:00
toolchain-external toolchain-external: update Arm AArch64 toolchain 8.2-2018.11 2019-01-04 12:45:17 +01:00
Config.in toolchain: add variadic MI thunk support flag 2019-02-04 21:53:20 +01:00
helpers.mk toolchain: improve musl check to support static toolchains 2018-08-21 22:11:51 +02:00
toolchain-wrapper.c toolchain/toolchain-wrapper: add BR2_SSP_* support 2018-10-20 12:51:21 +02:00
toolchain-wrapper.mk toolchain/toolchain-wrapper: add BR2_SSP_* support 2018-10-20 12:51:21 +02:00
toolchain.mk toolchain: move glibc nsswitch.conf handling to a post-target hook 2018-10-21 01:50:35 +02:00