[Debian GNUstep maintainers] Bug#592751: Broken on hppa; programs abort with malloc assertion failure

Yavor Doganov yavor at gnu.org
Tue Aug 17 19:12:01 UTC 2010


On Tue, Aug 17, 2010 at 12:59:15PM -0600, dann frazier wrote:
> (sid)dannf at paer:~/test-0.1$ ./test
> Test 1
> Test 2
> Test 3

Thanks.  Do you get something different if you rebuild with

  make OBJCFLAGS="-fexceptions -fobjc-exceptions -fgnu-runtime"

?  (I doubt it.)

Before starting the masochistic bisection procedure, it is perhaps
worth trying -base built with gcc-4.3 (new code can trigger bugs in
the compiler/runtime, so it's not absolutely certain that GCC/libobjc
are not guilty).  The easiest way to test this is

1) Install gobjc-4.3.

2) Edit /usr/share/GNUstep/Makefiles/config.make:
   - s/gcc/gcc-4.3/g
   - Change the line
     USE_OBJC_EXCEPTIONS = yes

     to

     USE_OBJC_EXCEPTIONS = no

3) Rebuild gnustep-base, making sure the usual compiler invocations,
   e.g.

   gcc runtime.c -c \
                 -MMD -MP -Wall ...

   , begin with "gcc-4.3".

4) Run `gdnc --help'.





More information about the pkg-GNUstep-maintainers mailing list