gcc: remove option on SJLJ exceptions
This is a very advanced option, and it seems, according to http://choices.cs.uiuc.edu/exceptions.pdf that SJLJ exceptions aren't really interesting. Users really interested by this can always use the BR2_EXTRA_GCC_CONFIG_OPTIONS is they want. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
13a10a0959
commit
6d4a992e2b
@ -245,7 +245,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
|
||||
BR2_GCC_VERSION="4.3.2"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
# BR2_GCC_CROSS_FORTRAN is not set
|
||||
# BR2_INSTALL_LIBGCJ is not set
|
||||
|
@ -250,7 +250,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
|
||||
BR2_GCC_VERSION="4.3.2"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
# BR2_GCC_CROSS_FORTRAN is not set
|
||||
# BR2_INSTALL_LIBGCJ is not set
|
||||
|
@ -267,7 +267,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
|
||||
BR2_GCC_VERSION="4.3.2"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
BR2_GCC_CROSS_CXX=y
|
||||
# BR2_GCC_CROSS_FORTRAN is not set
|
||||
|
@ -173,7 +173,6 @@ BR2_GCC_VERSION_4_2_1=y
|
||||
# BR2_GCC_IS_SNAP is not set
|
||||
BR2_GCC_VERSION="4.2.1"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
BR2_GCC_CROSS_CXX=y
|
||||
# BR2_GCC_CROSS_FORTRAN is not set
|
||||
|
@ -270,7 +270,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
|
||||
BR2_GCC_VERSION="4.3.2"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
BR2_GCC_CROSS_CXX=y
|
||||
# BR2_GCC_CROSS_FORTRAN is not set
|
||||
|
@ -264,7 +264,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
|
||||
BR2_GCC_VERSION="4.3.2"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
# BR2_GCC_CROSS_FORTRAN is not set
|
||||
# BR2_INSTALL_LIBGCJ is not set
|
||||
|
@ -264,7 +264,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
|
||||
BR2_GCC_VERSION="4.3.2"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
# BR2_GCC_CROSS_FORTRAN is not set
|
||||
# BR2_INSTALL_LIBGCJ is not set
|
||||
|
@ -196,7 +196,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
# BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE is not set
|
||||
BR2_GCC_VERSION="4.2.2-avr32-2.1.5"
|
||||
# BR2_TOOLCHAIN_SYSROOT is not set
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
# BR2_GCC_SHARED_LIBGCC is not set
|
||||
|
||||
|
@ -174,7 +174,6 @@ BR2_GCC_VERSION_4_2_2_AVR32_2_1_5=y
|
||||
BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
BR2_GCC_VERSION="4.2.2-avr32-2.1.5"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
BR2_GCC_SHARED_LIBGCC=y
|
||||
BR2_GCC_ENABLE_TLS=y
|
||||
|
@ -200,7 +200,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
# BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE is not set
|
||||
BR2_GCC_VERSION="4.2.2-avr32-2.1.5"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
BR2_GCC_SHARED_LIBGCC=y
|
||||
|
||||
|
@ -195,7 +195,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
# BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE is not set
|
||||
BR2_GCC_VERSION="4.2.2-avr32-2.1.5"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
BR2_GCC_SHARED_LIBGCC=y
|
||||
|
||||
|
@ -195,7 +195,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
|
||||
BR2_GCC_VERSION="4.4.0"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
# BR2_GCC_CROSS_FORTRAN is not set
|
||||
# BR2_INSTALL_LIBGCJ is not set
|
||||
|
@ -195,7 +195,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
|
||||
BR2_GCC_VERSION="4.4.0"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
# BR2_GCC_CROSS_FORTRAN is not set
|
||||
# BR2_INSTALL_LIBGCJ is not set
|
||||
|
@ -199,7 +199,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
|
||||
BR2_GCC_VERSION="4.3.2"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
# BR2_GCC_CROSS_CXX is not set
|
||||
# BR2_GCC_CROSS_FORTRAN is not set
|
||||
|
@ -199,7 +199,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
|
||||
BR2_GCC_VERSION="4.3.2"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
BR2_GCC_CROSS_CXX=y
|
||||
# BR2_GCC_CROSS_FORTRAN is not set
|
||||
|
@ -201,7 +201,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
# BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE is not set
|
||||
BR2_GCC_VERSION="4.2.4"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
BR2_GCC_CROSS_CXX=y
|
||||
# BR2_GCC_CROSS_FORTRAN is not set
|
||||
|
@ -170,7 +170,6 @@ BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
# BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE is not set
|
||||
BR2_GCC_VERSION="4.2.2"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
BR2_GCC_CROSS_CXX=y
|
||||
BR2_INSTALL_LIBSTDCPP=y
|
||||
|
@ -68,14 +68,6 @@ config BR2_GCC_VERSION
|
||||
default "4.4.4" if BR2_GCC_VERSION_4_4_X
|
||||
default $BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
|
||||
|
||||
config BR2_GCC_USE_SJLJ_EXCEPTIONS
|
||||
bool "Enable setjmp/longjmp exceptions?"
|
||||
help
|
||||
For some platforms, proper stack unwinding works perfectly,
|
||||
while other platforms must use setjmp/longjmp exceptions for
|
||||
proper stack unwinding during exception handling. Most people
|
||||
can leave this set to n.
|
||||
|
||||
config BR2_EXTRA_GCC_CONFIG_OPTIONS
|
||||
string "Additional gcc options"
|
||||
default ""
|
||||
|
@ -13,10 +13,6 @@ else
|
||||
GCC_SNAP_DATE:=
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_GCC_USE_SJLJ_EXCEPTIONS),y)
|
||||
GCC_USE_SJLJ_EXCEPTIONS:=--enable-sjlj-exceptions
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_SOFT_FLOAT),y)
|
||||
SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
|
||||
ifeq ($(BR2_arm)$(BR2_armeb),y) # only set float-abi for arm
|
||||
|
@ -290,7 +290,6 @@ $(GCC_BUILD_DIR2)/.configured: $(GCC_SRC_DIR)/.patched $(GCC_STAGING_PREREQ)
|
||||
$(GCC_DECIMAL_FLOAT) \
|
||||
$(SOFT_FLOAT_CONFIG_OPTION) \
|
||||
$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
|
||||
$(GCC_USE_SJLJ_EXCEPTIONS) \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(EXTRA_GCC_CONFIG_OPTIONS) \
|
||||
$(EXTRA_GCC2_CONFIG_OPTIONS) \
|
||||
@ -424,7 +423,6 @@ $(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.prepared
|
||||
$(GCC_DECIMAL_FLOAT) \
|
||||
$(SOFT_FLOAT_CONFIG_OPTION) \
|
||||
$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
|
||||
$(GCC_USE_SJLJ_EXCEPTIONS) \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(EXTRA_GCC_CONFIG_OPTIONS) \
|
||||
$(EXTRA_TARGET_GCC_CONFIG_OPTIONS) \
|
||||
|
Loading…
Reference in New Issue
Block a user