This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 4.0 on i386 with current CVS head


On Mon, Jan 31, 2005 at 06:31:40PM +0100, Andreas Jaeger wrote:
> 
> With my GCC 3.3 version I can easily build glibc and it passes the
> completle testsuite.  But with GCC 4.0 CVS on i386 I get the following
> error:
> 
> *** glibc detected *** /usr/src/packages/BUILD/glibc-2.4/cc-nptl/dlfcn/tststatic
> : free(): invalid pointer: 0x080afc60 ***
> /bin/sh: line 1: 30971 Aborted                 GCONV_PATH=/usr/src/packages/BUIL
> D/glibc-2.4/cc-nptl/iconvdata LC_ALL=C LD_LIBRARY_PATH=/usr/src/packages/BUILD/g
> libc-2.4/cc-nptl/dlfcn/:/usr/src/packages/BUILD/glibc-2.4/cc-nptl/:/usr/src/pack
> ages/BUILD/glibc-2.4/cc-nptl/elf /usr/src/packages/BUILD/glibc-2.4/cc-nptl/dlfcn
> /tststatic >/usr/src/packages/BUILD/glibc-2.4/cc-nptl/dlfcn/tststatic.out
> 
> Any ideas?

Have you tried pulling CVS today? I get connection reset by peer, or I'd
be looking up your problem.

I'm guessing the new gcc doens't adhere to MALLOC_ALIGN_MASK?
What is the malloc alignment you are requesting and is gcc meeting that
alignment requirement?

I don't think it's an arena problem. I've only run into this problem
once.

c.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]