On 13.03.11 Hilmar Preuße (hill...@web.de) wrote:
> On 13.03.11 Pierre SCHNIZER <p.schni...@gsi.de> (p.schni...@gsi.de) wrote:

Hi,

> > The error occurs in the kpathsea library
> > (texk/kpathsea/readable.c), where the stat fails with the errno
> > set to EOVERFLOW.  It fails because the offset is to large. 
> > After I added manually -D_FILE_OFFSET_BITS=64 (following the stat
> > 2 man page), kpathsea/pdflatex finds the file and compiles it
> > happily.  I added "a patch", which illustrates my hack to find
> > and circumvent the problem.
> > 
> For the records: regarding LFS support there is
> http://www.suse.de/~aj/linux_lfs.html
> 
> In a nutshell for using LFS you can choose either of the following:
> 
I just testd the following in debian/rules to get LFS support:

LFS_GCC := $(shell getconf LFS_CFLAGS)
LFS_LD := $(shell getconf LFS_LDFLAGS)

DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
GCC_44_ARCHES := armel
RELAX_ARCHES := alpha

ifneq (,$(filter $(DEB_BUILD_ARCH),$(GCC_44_ARCHES)))
    export CC=gcc-4.4 $(LFS_GCC)
    export CXX=g++-4.4 $(LFS_GCC)
else
    export CC=gcc $(LFS_GCC)
    export CXX=g++ $(LFS_GCC)
endif

ifneq (,$(filter $(DEB_BUILD_ARCH),$(RELAX_ARCHES)))
    export LDFLAGS=-Wl,--no-relax $(LFS_LD)
else
    export LDFLAGS=$(LFS_LD)
endif

The build on i386 still runs. Even if we upload that to Debian we
should upload to experimental.

H.
-- 
sigmentation fault



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to