Re: build distribution fails on sparc64
Joël BERTRAND <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.sparc64 |
|---|---|
| Message-ID | <[email protected]> |
Le 15/03/2014 16:47, Martin Husemann a écrit : > For the archive: I have looked at Joël's build log and indeed the issue > happens during the build of sparc compat libraries (so using sparc source > is fine). > > I think the problem happens due to the /etc/mk.conf details, but I leave > testing (and reporting back) to him. > > Martin > Hello, Thanks a lot for your help. I have tried to build distribution from scratch. With COPTS=-O2 and CPUFLAGS=-mcpu=ultrasparc3 -mtune=ultrasparc3, it stops with error as it tries to compile sparc32 code with 64 bits instructions. If I remove CPUFLAGS, it runs like a charm. I suppose there is a bug somewhere. Maybe compat32 code should undef CPUFLAGS. Best regards, JKB