This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH V2 1/2] testsuite: Support detection of Intel compilers via test_compiler_version.
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: "Heckel\, Bernhard" <bernhard dot heckel at intel dot com>
- Cc: Yao Qi <qiyaoltc at gmail dot com>, gdb-patches at sourceware dot org, brobecker at adacore dot com
- Date: Mon, 18 Apr 2016 10:28:58 +0100
- Subject: Re: [PATCH V2 1/2] testsuite: Support detection of Intel compilers via test_compiler_version.
- Authentication-results: sourceware.org; auth=none
- References: <1460724297-23523-1-git-send-email-bernhard dot heckel at intel dot com> <1460724297-23523-2-git-send-email-bernhard dot heckel at intel dot com> <86k2jylxxu dot fsf at gmail dot com> <57147D6B dot 9030403 at intel dot com>
"Heckel, Bernhard" <bernhard.heckel@intel.com> writes:
>>> diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
>>> index 1ef6a96..75c5e68 100644
>>> --- a/gdb/testsuite/lib/gdb.exp
>>> +++ b/gdb/testsuite/lib/gdb.exp
>>> @@ -3553,6 +3553,9 @@ proc gdb_compile_shlib {sources dest options} {
>>> lappend obj_options "additional_flags=-fpic"
>>> }
>>> }
>>> + "icc-*" {
>>> + lappend obj_options "additional_flags=-fpic"
>>> + }
>> Why do we need this change? How is it related to this patch series?
> ICC was handled in the testsuite like GCC before, including the flags
> for compiling shared libraries.
> If not set, compiling gdb.fortran/library-module-lib.f90 will fail.
This change affects all the shared lib tests compiled by icc. It should
be in another patch.
--
Yao (éå)