Hey,
Thanks for you patch but I get a huge amount of redefinition warnings
when trying to compile openblas:
<command-line>:0:0: warning: "ASMNAME" redefined
<command-line>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "ASMFNAME" redefined
<command-line>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "NAME" redefined
<command-line>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "CNAME" redefined
<command-line>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "CHAR_NAME" redefined
<command-line>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "CHAR_CNAME" redefined
<command-line>:0:0: note: this is the location of the previous definition
However, I also get those warnings when compiling the old version. Not
sure if their build system is just broken but we might want to fix
that...
Sören.
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---
On Sun, Nov 29, 2015 at 02:42:33PM +0100, Sören Tempel wrote:
> Hey,> > Thanks for you patch but I get a huge amount of redefinition warnings> when trying to compile openblas:> > <command-line>:0:0: warning: "ASMNAME" redefined> <command-line>:0:0: note: this is the location of the previous definition> <command-line>:0:0: warning: "ASMFNAME" redefined> <command-line>:0:0: note: this is the location of the previous definition> <command-line>:0:0: warning: "NAME" redefined> <command-line>:0:0: note: this is the location of the previous definition> <command-line>:0:0: warning: "CNAME" redefined> <command-line>:0:0: note: this is the location of the previous definition> <command-line>:0:0: warning: "CHAR_NAME" redefined> <command-line>:0:0: note: this is the location of the previous definition> <command-line>:0:0: warning: "CHAR_CNAME" redefined> <command-line>:0:0: note: this is the location of the previous definition> > However, I also get those warnings when compiling the old version. Not> sure if their build system is just broken but we might want to fix> that...
Yes, it's a standard problem; any -D... flag ends up in multiple make
variables. (The problem will require patching the Makefile, but I haven't
looked at it closely.)
Thanks,
Isaac Dunham
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---
On Sun, Nov 29, 2015 at 05:57:41PM -0800, Isaac Dunham wrote:
> On Sun, Nov 29, 2015 at 02:42:33PM +0100, Sören Tempel wrote:> > Hey,> > > > Thanks for you patch but I get a huge amount of redefinition warnings> > when trying to compile openblas:> > > > <command-line>:0:0: warning: "ASMNAME" redefined> > <command-line>:0:0: note: this is the location of the previous definition> > <command-line>:0:0: warning: "ASMFNAME" redefined> > <command-line>:0:0: note: this is the location of the previous definition> > <command-line>:0:0: warning: "NAME" redefined> > <command-line>:0:0: note: this is the location of the previous definition> > <command-line>:0:0: warning: "CNAME" redefined> > <command-line>:0:0: note: this is the location of the previous definition> > <command-line>:0:0: warning: "CHAR_NAME" redefined> > <command-line>:0:0: note: this is the location of the previous definition> > <command-line>:0:0: warning: "CHAR_CNAME" redefined> > <command-line>:0:0: note: this is the location of the previous definition> > > > However, I also get those warnings when compiling the old version. Not> > sure if their build system is just broken but we might want to fix> > that...> > Yes, it's a standard problem; any -D... flag ends up in multiple make> variables. (The problem will require patching the Makefile, but I haven't> looked at it closely.)
Looking at it, this happens as a result of passing CFLAGS in the
environment.
Why, I'm not sure, but it can be avoided via
CFLAGS= make CFLAGS="$CFLAGS"
Thanks,
Isaac Dunham
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---