OpenBLAS 2.17 gcc 5.3.0 warning message

43 views
Skip to first unread message

Steven Kelso

unread,
Mar 23, 2016, 8:11:33 AM3/23/16
to OpenBLAS-users
When I compile the latest version of openBLAS with GCC 5.3.0, I see many, many warnings (27,646) about re-definitions on the command line.  From web searches I see that this may be because the Makefile.system is included more than once.  

e.g.:
gcc <options deleted> -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DASMNAME=ctbmv_NUN -DASMFNAME=ctbmv_NUN_ -DNAME=ctbmv_NUN_ -DCNAME=ctbmv_NUN -DCHAR_NAME=\"ctbmv_NUN_\" -DCHAR_CNAME=\"ctbmv_NUN\" -DNO_AFFINITY -I../.. -UDOUBLE  -DCOMPLEX -DCOMPLEX -UDOUBLE -DTRANSA=1 -UUNIT ztbmv_U.c -o ctbmv_NUN.o

In this example, ASMNAME is set to null, and then to ctbmv_NUM which should be no problem, I assume.

However, CHAR_NAME is first set to "ctbmv_NUN_" and then set to "ctbmv_NUN" (no trailing underscore)
Is it setting the definition to the correct value?

The warnings are also printed using gcc 4.7.2 but not when using gcc 4.4.7

Can someone confirm that the correct values are being set up here?

Many thanks,

S.

Steven Kelso

unread,
Mar 23, 2016, 9:36:41 AM3/23/16
to OpenBLAS-users
It has just been pointed out to me that I mistook CHAR_NAME and CHAR_CNAME when looking at the make output.

So I'm just seeing the redefinition warnings about the empty strings having more data in them.  I can copy with that for the time being.

Apologies for the mis-post.

S.


--
You received this message because you are subscribed to a topic in the Google Groups "OpenBLAS-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openblas-users/btMsoieE3WA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openblas-user...@googlegroups.com.
To post to this group, send email to openbla...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages