Bug 9756 - Building samba with Intel's compiler fails
Building samba with Intel's compiler fails
Status: NEW
Product: Samba 4.0
Classification: Unclassified
Component: Build
4.0.0
All Linux
: P5 normal
: ---
Assigned To: Björn Jacke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-31 16:11 UTC by Atanas
Modified: 2013-04-01 20:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Atanas 2013-03-31 16:11:03 UTC
Compiling Samba 4 with Intel's compiler fails. Error message is:

compilation aborted for ../source4/heimdal/lib/hcrypto/libtommath/bn_fast_s_mp_mul_digs.c (code 4)
Waf: Leaving directory `/var/www/workspace/samba-master/bin'
Build failed:  -> task failed (err #4): 
	{task: cc bn_fast_s_mp_mul_digs.c -> bn_fast_s_mp_mul_digs_85.o}
make: *** [all] Error 1

My configurations is as follows:

uname -a
Linux 3.5.0-26-generic #42-Ubuntu SMP Fri Mar 8 23:18:20 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

icc --version
icc (ICC) 13.1.0 20130121
Copyright (C) 1985-2013 Intel Corporation.  All rights reserved.

gcc --version
gcc-4.7.real (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.

Environment:
CC=/opt/intel/composer_xe_2013.2.146/bin/intel64/icc
CPPFLAGS=-I/opt/intel/composer_xe_2013.2.146/compiler/include
LD_LIBRARY=/opt/intel/composer_xe_2013.2.146/compiler/lib/intel64
LDFLAGS=-L/opt/intel/composer_xe_2013.2.146/compiler/lib/intel64

I should note that Samba compiles on the same machine with GCC so it must be something Intel specific.
Comment 1 Jeremy Allison 2013-04-01 20:30:46 UTC
There is no compiler error complaining about the code in this report. Only a 'compilation aborted for
../source4/heimdal/lib/hcrypto/libtommath/bn_fast_s_mp_mul_digs.c (code 4)'

which looks like an internal compiler error. I'm not sure what you expect us to be able to do about this, shouldn't you be reporting this to the Intel compiler team ?