Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
bce0e38d
Commit
bce0e38d
authored
May 24, 2015
by
Eric Botcazou
Committed by
Eric Botcazou
May 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* configure: Regenerate.
From-SVN: r223635
parent
98ce5ba5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
66 deletions
+32
-66
libjava/ChangeLog
+4
-1
libjava/configure
+28
-65
No files found.
libjava/ChangeLog
View file @
bce0e38d
2015-05-24 Eric Botcazou <ebotcazou@adacore.com>
* configure: Regenerate.
2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
* configure.ac: Include config/sjlj.m4.
* configure.ac: Include config/sjlj.m4.
Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
* include/config.h.in: Regenerate.
* include/config.h.in: Regenerate.
* configure: Likewise.
* exception.cc: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
* exception.cc: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
* stacktrace.cc: Likewise.
* stacktrace.cc: Likewise.
* include/default-signal.h: Likewise.
* include/default-signal.h: Likewise.
...
...
libjava/configure
View file @
bce0e38d
...
@@ -950,7 +950,6 @@ enable_reduced_reflection
...
@@ -950,7 +950,6 @@ enable_reduced_reflection
with_win32_nlsapi
with_win32_nlsapi
enable_gc_debug
enable_gc_debug
enable_interpreter
enable_interpreter
enable_sjlj_exceptions
enable_java_net
enable_java_net
with_libffi
with_libffi
enable_jvmpi
enable_jvmpi
...
@@ -1645,8 +1644,6 @@ Optional Features:
...
@@ -1645,8 +1644,6 @@ Optional Features:
building portions of libgcj
building portions of libgcj
--enable-gc-debug include full support for pointer backtracing etc.
--enable-gc-debug include full support for pointer backtracing etc.
--enable-interpreter enable interpreter
--enable-interpreter enable interpreter
--enable-sjlj-exceptions
force use of builtin_setjmp for exceptions
--disable-java-net disable java.net
--disable-java-net disable java.net
--disable-jvmpi disable JVMPI support
--disable-jvmpi disable JVMPI support
--enable-java-gc=TYPE choose garbage collector (default is boehm)
--enable-java-gc=TYPE choose garbage collector (default is boehm)
...
@@ -13392,7 +13389,7 @@ else
...
@@ -13392,7 +13389,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
_LT_EOF
cat
>
conftest.
$ac_ext
<<
_LT_EOF
#line 1339
5
"configure"
#line 1339
2
"configure"
#include "confdefs.h"
#include "confdefs.h"
#if HAVE_DLFCN_H
#if HAVE_DLFCN_H
...
@@ -13498,7 +13495,7 @@ else
...
@@ -13498,7 +13495,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
_LT_EOF
cat
>
conftest.
$ac_ext
<<
_LT_EOF
#line 13
501
"configure"
#line 13
498
"configure"
#include "confdefs.h"
#include "confdefs.h"
#if HAVE_DLFCN_H
#if HAVE_DLFCN_H
...
@@ -19482,70 +19479,36 @@ else
...
@@ -19482,70 +19479,36 @@ else
fi
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for exception model to use"
>
&5
# If we are not using SJLJ exceptions, and this host does not have support
$as_echo_n
"checking for exception model to use... "
>
&6
;
}
# for unwinding from a signal handler, enable checked dereferences and divides.
ac_ext
=
cpp
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether the compiler is configured for setjmp/longjmp exceptions"
>
&5
ac_cpp
=
'$CXXCPP $CPPFLAGS'
$as_echo_n
"checking whether the compiler is configured for setjmp/longjmp exceptions... "
>
&6
;
}
ac_compile
=
'$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
if
test
"
${
ac_cv_sjlj_exceptions
+set
}
"
=
set
;
then
:
ac_link
=
'$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
$as_echo_n
"(cached) "
>
&6
ac_compiler_gnu
=
$ac_cv_cxx_compiler_gnu
# Check whether --enable-sjlj-exceptions was given.
if
test
"
${
enable_sjlj_exceptions
+set
}
"
=
set
;
then
:
enableval
=
$enable_sjlj_exceptions
;
:
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
#line 19498 "configure"
/* end confdefs.h. */
struct S { ~S(); };
#ifdef __USING_SJLJ_EXCEPTIONS__
void bar();
this will fail
void foo()
#endif
int
main ()
{
{
S s;
int i;
bar();
;
return 0;
}
}
EOF
_ACEOF
old_CXXFLAGS
=
"
$CXXFLAGS
"
if
ac_fn_c_try_compile
"
$LINENO
"
;
then
:
CXXFLAGS
=
-S
ac_cv_sjlj_exceptions
=
no
if
{
{
eval echo
"
\"\$
as_me
\"
:
${
as_lineno
-
$LINENO
}
:
\"
$ac_compile
\"
"
;
}
>
&5
(
eval
$ac_compile
)
2>&5
ac_status
=
$?
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
:
\$
? =
$ac_status
"
>
&5
test
$ac_status
=
0
;
}
;
then
if
grep
_Unwind_SjLj_Resume conftest.s
>
/dev/null 2>&1
;
then
enable_sjlj_exceptions
=
yes
elif
grep
_Unwind_Resume conftest.s
>
/dev/null 2>&1
;
then
enable_sjlj_exceptions
=
no
elif
grep
__cxa_end_cleanup conftest.s
>
/dev/null 2>&1
;
then
# ARM EH ABI.
enable_sjlj_exceptions
=
no
fi
fi
CXXFLAGS
=
"
$old_CXXFLAGS
"
rm
-f
conftest
*
fi
if
test
x
$enable_sjlj_exceptions
=
xyes
;
then
$as_echo
"#define SJLJ_EXCEPTIONS 1"
>>
confdefs.h
ac_exception_model_name
=
sjlj
elif
test
x
$enable_sjlj_exceptions
=
xno
;
then
ac_exception_model_name
=
"call frame"
else
else
a
s_fn_error
"unable to detect exception model"
"
$LINENO
"
5
a
c_cv_sjlj_exceptions
=
yes
fi
fi
ac_ext
=
c
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
ac_cpp
=
'$CPP $CPPFLAGS'
fi
ac_compile
=
'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_sjlj_exceptions
"
>
&5
ac_link
=
'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
$as_echo
"
$ac_cv_sjlj_exceptions
"
>
&6
;
}
ac_compiler_gnu
=
$ac_cv_c_compiler_gnu
if
test
$ac_cv_sjlj_exceptions
=
no
&&
test
$can_unwind_signal
=
no
;
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_exception_model_name
"
>
&5
$as_echo
"
$ac_exception_model_name
"
>
&6
;
}
# If we are non using SJLJ exceptions, and this host does not have support
# for unwinding from a signal handler, enable checked dereferences and divides.
if
test
$can_unwind_signal
=
no
&&
test
$enable_sjlj_exceptions
=
no
;
then
CHECKREFSPEC
=
-fcheck-references
CHECKREFSPEC
=
-fcheck-references
DIVIDESPEC
=
-fuse-divide-subroutine
DIVIDESPEC
=
-fuse-divide-subroutine
EXCEPTIONSPEC
=
EXCEPTIONSPEC
=
...
@@ -24455,7 +24418,7 @@ case "${host}" in
...
@@ -24455,7 +24418,7 @@ case "${host}" in
esac
esac
# If we're using sjlj exceptions, forget what we just learned.
# If we're using sjlj exceptions, forget what we just learned.
if
test
"
$
enable
_sjlj_exceptions
"
=
yes
;
then
if
test
"
$
ac_cv
_sjlj_exceptions
"
=
yes
;
then
SIGNAL_HANDLER
=
include/default-signal.h
SIGNAL_HANDLER
=
include/default-signal.h
SIGNAL_HANDLER_AUX
=
SIGNAL_HANDLER_AUX
=
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment