GNU bug report logs - #12841
Make for AIX 8.20 fails with undefined symbol .rpl_malloc

Previous Next

Package: coreutils;

Reported by: Michael Felt <mamfelt <at> gmail.com>

Date: Fri, 9 Nov 2012 04:39:01 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michael Felt <mamfelt <at> gmail.com>
Subject: bug#12841: closed (Re: bug#12841: Make for AIX 8.20 fails with
 undefined symbol .rpl_malloc)
Date: Sun, 11 Nov 2012 15:06:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#12841: Make for AIX 8.20 fails with undefined symbol .rpl_malloc

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 12841 <at> debbugs.gnu.org.

-- 
12841: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12841
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Pádraig Brady <P <at> draigBrady.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Michael Felt <mamfelt <at> gmail.com>, 12841-done <at> debbugs.gnu.org
Subject: Re: bug#12841: Make for AIX 8.20 fails with undefined symbol
	.rpl_malloc
Date: Sun, 11 Nov 2012 15:04:39 +0000
On 11/11/2012 07:41 AM, Paul Eggert wrote:
> I think you can fix the bug by adding "#undef malloc"
> to the list of undefs in src/make-prime-list.c.  You might
> want to give that a try.  But this business with the primes
> has bitten us before, and I'd like to install the attached
> more-ambitious patch instead, which you might also like to
> try.  Most of this patch is a table of primes.

Thanks for that.

I notice that src/make-prime-list is made even if src/primes.h
is present, is that intentional?

Also for my own reference, after a `make maintainer-clean`,
make-prime-list will best be generated with -Dwide_uint=__'unsigned __int128'

cheers,
Pádraig.

[Message part 3 (message/rfc822, inline)]
From: Michael Felt <mamfelt <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: Make for AIX 8.20 fails with undefined symbol .rpl_malloc
Date: Fri, 9 Nov 2012 11:38:02 +0700
[Message part 4 (text/plain, inline)]
root <at> x104:[/data/prj/gnu/coreutils/coreutils-8.20]export
FORCE_UNSAFE_CONFIGURE=1
root <at> x104:[/data/prj/gnu/coreutils/coreutils-8.20]CFLAGS=-O2 -qcpluscmt
./configure \
        --prefix=/opt \
        --sysconfdir=/var/coreutils/etc \
        --sharedstatedir=/var/coreutils/com \
        --localstatedir=/var/coreutils \
        --mandir=/usr/share/man  \
                > build/aix/configure.out
configure: WARNING: libattr development library was not found or not usable.
configure: WARNING: GNU coreutils will be built without xattr support.
configure: WARNING: libcap library was not found or not usable.
configure: WARNING: GNU coreutils will be built without capability support.
configure: WARNING: libgmp development library was not found or not usable.
configure: WARNING: GNU coreutils will be built without GMP support.
+ make > build/aix/make.out
ld: 0711-317 ERROR: Undefined symbol: .rpl_malloc
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: *** [src/make-prime-list] Error 8
+ make install DESTDIR=/var/tmp/root/coreutils-8.20.0.0 >
build/aix/install.out
ld: 0711-317 ERROR: Undefined symbol: .rpl_malloc
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: *** [src/make-prime-list] Error 8
make install returned an error
root <at> x104:[/data/prj/gnu/coreutils/coreutils-8.20]
root <at> x104:[/data/prj/gnu/coreutils/coreutils-8.20]
root <at> x104:[/data/prj/gnu/coreutils/coreutils-8.20]

Version 8.15 is the last one I packaged, and build went fine.

I have also tested the build of 8.17. This completed (make install) without
any noteable errors.

p.s. Thought I had submitted this days ago - but it has been sitting in my
Drafts folder. :(
[Message part 5 (text/html, inline)]

This bug report was last modified 12 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.