Re: Can't compile bird on sparc arch

2010-08-04 Thread Olivier Cochard-Labbé
2010/8/4 Ondrej Filip fe...@network.cz: I attached the patch. Apply it this way: fe...@majklik:~/src/git/bird$ patch -p1 ld.patch patching file tools/Rules.in Thanks, your patch fix the compilation problem. Regards, Olivier

Re: Can't compile bird on sparc arch

2010-08-04 Thread Joakim Tjernlund
On 4.8.2010 09:47, Olivier Cochard-Labbé wrote: Hi, Hi Olivier! I'm trying to compile bird 1.2.3 under FreeBSD-sparc64. But the compilation failed with this message: cc -nostdlib -Wl,-r -o all.o cf-parse.tab.o cf-lex.o conf.o /usr/bin/ld: --relax and -r may not be used

Re: Can't compile bird on sparc arch

2010-08-04 Thread Ondrej Zajicek
On Wed, Aug 04, 2010 at 12:04:21PM +0200, Joakim Tjernlund wrote: fe...@majklik:~/src/git/bird$ patch -p1 ld.patch patching file tools/Rules.in That patch breaks cross compile. Please look at http://hackage.haskell.org/trac/ghc/ticket/3791 Perhaps passing -mno-relax and/or -r will do it?

Re: Can't compile bird on sparc arch

2010-08-04 Thread Joakim Tjernlund
Ondrej Zajicek santi...@crfreenet.org wrote on 2010/08/04 13:55:43: On Wed, Aug 04, 2010 at 12:04:21PM +0200, Joakim Tjernlund wrote: fe...@majklik:~/src/git/bird$ patch -p1 ld.patch patching file tools/Rules.in That patch breaks cross compile. Please look at