Mercurial > hg > graal-compiler
comparison make/solaris/makefiles/dtrace.make @ 12015:c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
Summary: Added extra help message in make/solaris/makefiles/dtrace.make
Reviewed-by: dholmes, sspitsyn
author | iklam |
---|---|
date | Thu, 08 Aug 2013 14:45:56 -0700 |
parents | 8b46b0196eb0 |
children | a3ba776d6ab6 8c76e844a7f9 |
comparison
equal
deleted
inserted
replaced
12014:31f3b1e1c5e5 | 12015:c661fa2e5189 |
---|---|
281 @echo Compiling $(DTRACE).d | 281 @echo Compiling $(DTRACE).d |
282 | 282 |
283 $(QUIETLY) $(DTRACE_PROG) $(DTRACE_OPTS) -C -I. -G -xlazyload -o $@ -s $(DTRACE).d \ | 283 $(QUIETLY) $(DTRACE_PROG) $(DTRACE_OPTS) -C -I. -G -xlazyload -o $@ -s $(DTRACE).d \ |
284 $(DTraced_Files) ||\ | 284 $(DTraced_Files) ||\ |
285 STATUS=$$?;\ | 285 STATUS=$$?;\ |
286 if [ x"$$STATUS" = x"1" -a \ | 286 if [ x"$$STATUS" = x"1" ]; then \ |
287 x`uname -r` = x"5.10" -a \ | 287 if [ x`uname -r` = x"5.10" -a \ |
288 x`uname -p` = x"sparc" ]; then\ | 288 x`uname -p` = x"sparc" ]; then\ |
289 echo "*****************************************************************";\ | 289 echo "*****************************************************************";\ |
290 echo "* If you are building server compiler, and the error message is ";\ | 290 echo "* If you are building server compiler, and the error message is ";\ |
291 echo "* \"incorrect ELF machine type...\", you have run into solaris bug ";\ | 291 echo "* \"incorrect ELF machine type...\", you have run into solaris bug ";\ |
292 echo "* 6213962, \"dtrace -G doesn't work on sparcv8+ object files\".";\ | 292 echo "* 6213962, \"dtrace -G doesn't work on sparcv8+ object files\".";\ |
293 echo "* Either patch/upgrade your system (>= S10u1_15), or set the ";\ | 293 echo "* Either patch/upgrade your system (>= S10u1_15), or set the ";\ |
294 echo "* environment variable HOTSPOT_DISABLE_DTRACE_PROBES to disable ";\ | 294 echo "* environment variable HOTSPOT_DISABLE_DTRACE_PROBES to disable ";\ |
295 echo "* dtrace probes for this build.";\ | 295 echo "* dtrace probes for this build.";\ |
296 echo "*****************************************************************";\ | 296 echo "*****************************************************************";\ |
297 elif [ x`uname -r` = x"5.10" ]; then\ | |
298 echo "*****************************************************************";\ | |
299 echo "* If you are seeing 'syntax error near \"umpiconninfo_t\"' on Solaris";\ | |
300 echo "* 10, try doing 'cd /usr/lib/dtrace && gzip mpi.d' as root, ";\ | |
301 echo "* or set the environment variable HOTSPOT_DISABLE_DTRACE_PROBES";\ | |
302 echo "* to disable dtrace probes for this build.";\ | |
303 echo "*****************************************************************";\ | |
304 else \ | |
305 echo "*****************************************************************";\ | |
306 echo "* If you cannot fix dtrace build issues, try to ";\ | |
307 echo "* set the environment variable HOTSPOT_DISABLE_DTRACE_PROBES";\ | |
308 echo "* to disable dtrace probes for this build.";\ | |
309 echo "*****************************************************************";\ | |
310 fi; \ | |
297 fi;\ | 311 fi;\ |
298 exit $$STATUS | 312 exit $$STATUS |
299 # Since some DTraced_Files are in LIBJVM.o and they are touched by this | 313 # Since some DTraced_Files are in LIBJVM.o and they are touched by this |
300 # command, and libgenerateJvmOffsets.so depends on LIBJVM.o, 'make' will | 314 # command, and libgenerateJvmOffsets.so depends on LIBJVM.o, 'make' will |
301 # think it needs to rebuild libgenerateJvmOffsets.so and thus JvmOffsets* | 315 # think it needs to rebuild libgenerateJvmOffsets.so and thus JvmOffsets* |