Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/openblas: upgrade to 0.2.15

From: Isaac Dunham <ibid.ag_at_gmail.com>
Date: Fri, 25 Mar 2016 20:24:41 -0700

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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Mar 25 2016 - 20:24:41 GMT