Can't compile bird on sparc arch

Ondrej Filip feela at network.cz
Wed Aug 4 09:57:36 CEST 2010


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 together
> gmake[2]: *** [all.o] Error 1
>
> I've tried to search for a solution, and found an explanation and
> solution of the problem here:
> http://hackage.haskell.org/trac/ghc/ticket/3791
>
> But I didn't know how to patch the bird sources files for fixing this problem.

Please note, there is a new release - 1.2.4.
I attached the patch. Apply it this way:

feela at majklik:~/src/git/bird$ patch -p1 <ld.patch
patching file tools/Rules.in

			Ondrej


>
> Regards,
>
> Olivier
>
> PS: full build log available here:
> http://pointyhat.freebsd.org/errorlogs/sparc64-errorlogs/e.8.20100704113633/bird-1.2.3.log.bz2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld.patch
Type: text/x-diff
Size: 239 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20100804/86c3cb43/attachment-0001.patch>


More information about the Bird-users mailing list