bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] Readline 5.x fails to compile on FreeBSD SPARC systems


From: Diego 'Flameeyes' Pettenò
Subject: [Bug-readline] Readline 5.x fails to compile on FreeBSD SPARC systems
Date: Fri, 6 Oct 2006 19:32:46 +0200
User-agent: KMail/1.9.5

Hi,
as per summary, Readline 5.x fails to build on FreeBSD SPARC systems (in this 
case Gentoo/FreeBSD but the same seems to apply for standard FreeBSD, 
standing by [1]), because -fpic limits the size of the GOT table to 8K on 
SPARC (see gcc manpage).

With the attached patch, the issue is solved, by using -fPIC that avoid the 
limits of the GOT.

HTH,

[1] 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/readline/Makefile?rev=1.8&content-type=text/x-cvsweb-markup
-- 
Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, Sound, ALSA, PAM, KDE, CJK, Ruby ...

Attachment: readline-5.1-fbsd-sparc.patch
Description: Text Data

Attachment: pgppFxO70_rjR.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]