Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112291 - Problem while emerge dev-util/leaktracer-2.4
Summary: Problem while emerge dev-util/leaktracer-2.4
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-12 09:58 UTC by Dirk Schoenberger
Modified: 2008-02-09 09:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schoenberger 2005-11-12 09:58:27 UTC
While tryiing to emerge leaktracer 2.4 I ran into the following problem

>>> Source unpacked.
 * Applying LeakCheck-gentoo.patch ...                                    [ ok ]
g++ -fPIC -c -g -pipe -Wall -W -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE -pthread  
LeakTracer.cc -o LeakTracer.o
powerpc-apple-darwin8-g++-4.0.0: unrecognized option '-pthread'
LeakTracer.cc: In member function 'void LeakTracer::initialize()':
LeakTracer.cc:195: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
LeakTracer.cc: In member function 'void* LeakTracer::registerAlloc(size_t, bool)':
LeakTracer.cc:288: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
LeakTracer.cc: In member function 'void LeakTracer::registerFree(void*, bool)':
LeakTracer.cc:416: warning: format '%d' expects type 'int', but argument 7 has type 'size_t'
LeakTracer.cc:427: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
LeakTracer.cc:429: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
g++ -g -pipe -Wall -W -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE -pthread  -shared -o 
LeakTracer.so LeakTracer.o
powerpc-apple-darwin8-g++-4.0.0: unrecognized option '-pthread'
powerpc-apple-darwin8-g++-4.0.0: unrecognized option '-shared'
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
make: *** [LeakTracer.so] Error 1


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r3 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.3.0 Power 
Macintosh)
===============================================================
==
System uname: 8.3.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/
share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc aalib audiofile emboss exif expat gdbm gif gmp imagemagick jpeg lcms libwww lua mhash 
mng nls ogg opengl pcre png ppc-macos qt recode sdl slang svg tetex tiff truetype vorbis 
userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Fabian Groffen gentoo-dev 2008-02-09 09:14:15 UTC
package needs to be ported to build .dylibs using -dynamiclib.