wrong compiler used during instant build

Bug #1171874 reported by Damiaan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Instant
Invalid
Undecided
Unassigned

Bug Description

cat instant_module_672321a1b160ae64201af8d497e52b999174cb1a/compile.log:

running build_ext
building '_instant_module_672321a1b160ae64201af8d497e52b999174cb1a' extension
creating build
creating build/temp.linux-x86_64-2.7
/scinet/gpc/mpi/openmpi/1.6.4-gcc-v4.7.2/bin/mpicc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/s/steinman/dolores/Build/include -I/home/s/steinman/dolores/Build/include -I/home/s/steinman/dolores/Build/include/python2.7 -c instant_module_672321a1b160ae64201af8d497e52b999174cb1a_wrap.cxx -o build/temp.linux-x86_64-2.7/instant_module_672321a1b160ae64201af8d497e52b999174cb1a_wrap.o -O0
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
creating build/lib.linux-x86_64-2.7

/scinet/gpc/mpi/openmpi/1.6.4-gcc-v4.7.2/bin/mpicxx -pthread -shared build/temp.linux-x86_64-2.7/instant_module_672321a1b160ae64201af8d497e52b999174cb1a_wrap.o -L/home/s/steinman/dolores/Build/lib -L/home/s/steinman/dolores/Build/lib -lboost_math_tr1 -lpython2.7 -o build/lib.linux-x86_64-2.7/_instant_module_672321a1b160ae64201af8d497e52b999174cb1a.so

g++: error: build/temp.linux-x86_64-2.7/instant_module_672321a1b160ae64201af8d497e52b999174cb1a_wrap.o: No such file or directory
error: command '/scinet/gpc/mpi/openmpi/1.6.4-gcc-v4.7.2/bin/mpicxx' failed with exit status 1

note that in the first compilation it's using mpicc instead of mpicxx. Setting both CC and CXX to mpicxx allows it to continue, but it shouln't be using the $CC variable in the first line.

when using gcc/g++ this works without any changes.

Revision history for this message
Garth Wells (garth-wells) wrote :

Bugs are now tracked at

    https://bitbucket.org/fenics-project/instant/issues

Please report there.

Changed in instant:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.