Re: assembler error on trying to port OpenBLAS

2020-11-13 Thread Stuart Henderson
On 2020/10/30 23:14, Brad Smith wrote: > On Fri, Oct 30, 2020 at 04:55:53PM +, Stuart Henderson wrote: > > On 2020/10/29 20:25, Aisha Tammy wrote: > > > I'm trying to port OpenBLAS to the tree and am currently getting > > > some weird assembler errors (port makefile is attached at end > > > ma

Re: assembler error on trying to port OpenBLAS

2020-11-01 Thread Dima Pasechnik
On Sun, Nov 01, 2020 at 07:44:18PM +, Stuart Henderson wrote: > On 2020/11/01 17:58, Dima Pasechnik wrote: > > On Sun, Nov 01, 2020 at 03:03:02PM +, Stuart Henderson wrote: > > > It is just an assembler, a newer version of the one that's already used, > > > there's not really much that's li

Re: assembler error on trying to port OpenBLAS

2020-11-01 Thread Stuart Henderson
On 2020/11/01 17:58, Dima Pasechnik wrote: > On Sun, Nov 01, 2020 at 03:03:02PM +, Stuart Henderson wrote: > > It is just an assembler, a newer version of the one that's already used, > > there's not really much that's likely to go wrong, it's more likely to fix > > than introduce problems. > >

Re: assembler error on trying to port OpenBLAS

2020-11-01 Thread Dima Pasechnik
On Sun, Nov 01, 2020 at 03:03:02PM +, Stuart Henderson wrote: > It is just an assembler, a newer version of the one that's already used, > there's not really much that's likely to go wrong, it's more likely to fix > than introduce problems. > > If you have some cycles to spare, building gcc wi

Re: assembler error on trying to port OpenBLAS

2020-11-01 Thread Stuart Henderson
It is just an assembler, a newer version of the one that's already used, there's not really much that's likely to go wrong, it's more likely to fix than introduce problems. If you have some cycles to spare, building gcc with Brad's diff and checking that a selection of the existing ports (pcba

Re: assembler error on trying to port OpenBLAS

2020-11-01 Thread Aisha Tammy
On 11/1/20 8:49 AM, Stuart Henderson wrote: On 2020/10/31 23:33, Aisha Tammy wrote: But that's not an option for something that is to be commited to the tree. Well damn... Is there any other method to fix the compiler to cc instead of this? I tried adding the lang/clang module before the fort

Re: assembler error on trying to port OpenBLAS

2020-11-01 Thread Stuart Henderson
On 2020/10/31 23:33, Aisha Tammy wrote: > > But that's not an option for something that is to be commited to the tree. > > > > Well damn... > Is there any other method to fix the compiler to cc instead of > this? > I tried adding the lang/clang module before the fortran module > MODULES = lang/cl

Re: assembler error on trying to port OpenBLAS

2020-11-01 Thread Stuart Henderson
On 2020/10/31 12:57, Aisha Tammy wrote: > > Thanks for the people who commented. > I've managed to fix the error by forcing the > COMPILER_LINKS = cc /usr/bin/cc gcc /usr/bin/gcc OK as a quick workaround hack to get you un-stuck, but this is not good for commit ;)

Re: assembler error on trying to port OpenBLAS

2020-11-01 Thread Dima Pasechnik
On Sat, Oct 31, 2020 at 11:33:07PM -0400, Aisha Tammy wrote: > On 10/31/20 9:48 PM, Brad Smith wrote: > > On 10/31/2020 12:57 PM, Aisha Tammy wrote: > > > On 10/29/20 8:25 PM, Aisha Tammy wrote: > > > > Hi, > > > > I'm trying to port OpenBLAS to the tree and am currently getting > > > > some weird

Re: assembler error on trying to port OpenBLAS

2020-11-01 Thread Aisha Tammy
On 10/31/20 9:48 PM, Brad Smith wrote: On 10/31/2020 12:57 PM, Aisha Tammy wrote: On 10/29/20 8:25 PM, Aisha Tammy wrote: Hi, I'm trying to port OpenBLAS to the tree and am currently getting some weird assembler errors (port makefile is attached at end math/openblas) ../kernel/x86_64/saxpy_mic

Re: assembler error on trying to port OpenBLAS

2020-10-31 Thread Brad Smith
On 10/31/2020 12:57 PM, Aisha Tammy wrote: On 10/29/20 8:25 PM, Aisha Tammy wrote: Hi, I'm trying to port OpenBLAS to the tree and am currently getting some weird assembler errors (port makefile is attached at end math/openblas) ../kernel/x86_64/saxpy_microk_sandy-2.c: Assembler messages: ../

Re: assembler error on trying to port OpenBLAS

2020-10-31 Thread Aisha Tammy
On 10/29/20 8:25 PM, Aisha Tammy wrote: Hi, I'm trying to port OpenBLAS to the tree and am currently getting some weird assembler errors (port makefile is attached at end math/openblas) ../kernel/x86_64/saxpy_microk_sandy-2.c: Assembler messages: ../kernel/x86_64/saxpy_microk_sandy-2.c:37: Error

Re: assembler error on trying to port OpenBLAS

2020-10-31 Thread Brad Smith
On Fri, Oct 30, 2020 at 04:55:53PM +, Stuart Henderson wrote: > On 2020/10/29 20:25, Aisha Tammy wrote: > > I'm trying to port OpenBLAS to the tree and am currently getting > > some weird assembler errors (port makefile is attached at end math/openblas) > > not that weird, the source code has

Re: assembler error on trying to port OpenBLAS

2020-10-30 Thread Stuart Henderson
On 2020/10/29 20:25, Aisha Tammy wrote: > I'm trying to port OpenBLAS to the tree and am currently getting > some weird assembler errors (port makefile is attached at end math/openblas) not that weird, the source code has inline asm, it is passed to /usr/bin/as which is pretty old and pre-dates su

Re: assembler error on trying to port OpenBLAS

2020-10-30 Thread Dima Pasechnik
On Thu, Oct 29, 2020 at 08:25:05PM -0400, Aisha Tammy wrote: > I'm trying to port OpenBLAS to the tree and am currently getting > some weird assembler errors (port makefile is attached at end math/openblas) [...] > > Presumably this is happening due to the assembler being used is > the one from ba

assembler error on trying to port OpenBLAS

2020-10-29 Thread Aisha Tammy
Hi, I'm trying to port OpenBLAS to the tree and am currently getting some weird assembler errors (port makefile is attached at end math/openblas) ../kernel/x86_64/saxpy_microk_sandy-2.c: Assembler messages: ../kernel/x86_64/saxpy_microk_sandy-2.c:37: Error: no such instruction: `vbroadcastss (%r