This is the mail archive of the
automake-prs@sources.redhat.com
mailing list for the automake project.
automake/416: Dependency tracking for Intel icc version 8.0
- From: Peter Seiderer <seiderer123 at ciselant dot de>
- To: automake-gnats at sources dot redhat dot com
- Date: 25 Mar 2004 20:11:00 -0000
- Subject: automake/416: Dependency tracking for Intel icc version 8.0
- Reply-to: Peter Seiderer <seiderer123 at ciselant dot de>
>Number: 416
>Category: automake
>Synopsis: Dependency tracking for Intel icc version 8.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: tromey
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 25 20:21:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Peter Seiderer <seiderer123@ciselant.de>
>Release: CVS Head
>Organization:
>Environment:
SuSe-Linux
>Description:
The depcomp test for dependency tracking with the actula Intel
icc compiler (version 8.0) leads to depmode=gcc3, and a warning
about a unknown commandline option on each compile line (because of
the unknown option '-MP'.
In m4/depend.m4 there is aleady a special test for icc and unknown options,
but the stderr output seems to have changed since icc-7.1.
The attached patch enhances this test for the new icc-8.0 output string.
With the patch, the resulting depmode is depmode=gcc which works fine (for me).
Another solution would be running icc dependency tracking with
'-MD -MF' (without -MP), but I do not know how to achieve this ....
Peter
/opt/intel/compiler80/bin/icc -V
Intel(R) C++ Compiler for 32-bit applications, Version 8.0 Build
20040304Z Package ID: l_cc_pc_8.0.058_pe061
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY
/opt/intel/compiler80/bin/icc -MP -c test.c
icc: Command line remark: option '-MP' not supported
/opt/intel/compiler70/ia32/bin/icc -V
Intel(R) C++ Compiler for 32-bit applications, Version 7.1 Build
20030701Z
Copyright (C) 1985-2003 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY
/opt/intel/compiler70/ia32/bin/icc -MP -c test.c
icc: Command line warning: ignoring option '-M'; no argument required
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="patch-automake"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="patch-automake"
SW5kZXg6IG00L2RlcGVuZC5tNAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvY3ZzL2F1dG9tYWtlL2F1
dG9tYWtlL200L2RlcGVuZC5tNCx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS4zMwpkaWZmIC11IC0z
IC1wIC11IC1yMS4zMyBkZXBlbmQubTQKLS0tIG00L2RlcGVuZC5tNAkyOSBGZWIgMjAwNCAyMToy
Njo0NSAtMDAwMAkxLjMzCisrKyBtNC9kZXBlbmQubTQJMjUgTWFyIDIwMDQgMTk6NDk6MDEgLTAw
MDAKQEAgLTExNyw3ICsxMTcsNyBAQCBBQ19DQUNIRV9DSEVDSyhbZGVwZW5kZW5jeSBzdHlsZSBv
ZiAkZGVwCiAgICAgICAjIGljYyBkb2Vzbid0IGNob2tlIG9uIHVua25vd24gb3B0aW9ucywgaXQg
d2lsbCBqdXN0IGlzc3VlIHdhcm5pbmdzCiAgICAgICAjIChldmVuIHdpdGggLVdlcnJvcikuICBT
byB3ZSBncmVwIHN0ZGVyciBmb3IgYW55IG1lc3NhZ2UKICAgICAgICMgdGhhdCBzYXlzIGFuIG9w
dGlvbiB3YXMgaWdub3JlZC4KLSAgICAgIGlmIGdyZXAgJ2lnbm9yaW5nIG9wdGlvbicgY29uZnRl
c3QuZXJyID4vZGV2L251bGwgMj4mMTsgdGhlbiA6OyBlbHNlCisgICAgICBpZiBncmVwICdpZ25v
cmluZyBvcHRpb25cfG5vdCBzdXBwb3J0ZWQnIGNvbmZ0ZXN0LmVyciA+L2Rldi9udWxsIDI+JjE7
IHRoZW4gOjsgZWxzZQogICAgICAgICBhbV9jdl8kMV9kZXBlbmRlbmNpZXNfY29tcGlsZXJfdHlw
ZT0kZGVwbW9kZQogICAgICAgICBicmVhawogICAgICAgZmkK