* Building dmalloc 5.5.2 on OS X with crosstool-ng 1.20...
@ 2014-12-02 15:45 Rasit Eskicioglu
2014-12-03 0:52 ` Bryan Hundven
0 siblings, 1 reply; 2+ messages in thread
From: Rasit Eskicioglu @ 2014-12-02 15:45 UTC (permalink / raw)
To: crossgcc
I'm trying to build an arm cross compiler on Yosemite (with latest
updates). The everything works, except dmalloc.
The following is a snippet from the build.log file:
> arm-freescale-linux-gnueabi-gcc -fPIC -DHAVE_STDARG_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0
> -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I.
> -I/Volumes/CTools/crosstool-NG/1.19/build/src/dmalloc-5.5.2
> -DLOCK_THREADS=1 -c
> /Volumes/CTools/crosstool-NG/1.19/build/src/dmalloc-5.5.2/malloc.c -o
> ./malloc_th.o
> [ALL ] ar cr libdmallocth.a arg_check.o compat.o dmalloc_rand.o
> dmalloc_tab.o env.o heap.o chunk_th.o error_th.o malloc_th.o
> [ALL ] arm-freescale-linux-gnueabi-ranlib libdmallocth.a
> [ALL ] rm -f libdmallocth.dylib libdmallocth.dylib.t
> [ALL ] arm-freescale-linux-gnueabi-g++ -dynamiclib -install_name
> libdmallocth.dylib -compatibility_version 1 -current_version 1 -o
> libdmallocth.dylib.t libdmallocth.a
> [ERROR] arm-freescale-linux-gnueabi-g++: error: libdmallocth.dylib:
> No such file or directory
> [ERROR] arm-freescale-linux-gnueabi-g++: error: 1: No such file or
> directory
> [ERROR] arm-freescale-linux-gnueabi-g++: error: 1: No such file or
> directory
> [ERROR] arm-freescale-linux-gnueabi-g++: error: unrecognized
> command line option '-install_name'
> [ERROR] arm-freescale-linux-gnueabi-g++: error: unrecognized
> command line option '-compatibility_version'
> [ERROR] arm-freescale-linux-gnueabi-g++: error: unrecognized
> command line option '-current_version'
> [ERROR] make[1]: *** [libdmallocth.dylib] Error 1
Any help is appreciated.
--Rasit
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Building dmalloc 5.5.2 on OS X with crosstool-ng 1.20...
2014-12-02 15:45 Building dmalloc 5.5.2 on OS X with crosstool-ng 1.20 Rasit Eskicioglu
@ 2014-12-03 0:52 ` Bryan Hundven
0 siblings, 0 replies; 2+ messages in thread
From: Bryan Hundven @ 2014-12-03 0:52 UTC (permalink / raw)
To: Rasit Eskicioglu; +Cc: crossgcc maillist
Rasit,
On Tue, Dec 2, 2014 at 7:45 AM, Rasit Eskicioglu
<rasit.eskicioglu@gmail.com> wrote:
> I'm trying to build an arm cross compiler on Yosemite (with latest updates).
> The everything works, except dmalloc.
Dmalloc is a memory allocation debugging library for the target and is
not needed to create a cross-compiler. You can simply disable it in
the .config file or via 'ct-ng menuconfig'.
> The following is a snippet from the build.log file:
>
>> arm-freescale-linux-gnueabi-gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1
>> -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1
>> -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0
>> -DHAVE_SIGNAL_H=1 -I.
>> -I/Volumes/CTools/crosstool-NG/1.19/build/src/dmalloc-5.5.2 -DLOCK_THREADS=1
>> -c /Volumes/CTools/crosstool-NG/1.19/build/src/dmalloc-5.5.2/malloc.c -o
>> ./malloc_th.o
>> [ALL ] ar cr libdmallocth.a arg_check.o compat.o dmalloc_rand.o
>> dmalloc_tab.o env.o heap.o chunk_th.o error_th.o malloc_th.o
>> [ALL ] arm-freescale-linux-gnueabi-ranlib libdmallocth.a
>> [ALL ] rm -f libdmallocth.dylib libdmallocth.dylib.t
>> [ALL ] arm-freescale-linux-gnueabi-g++ -dynamiclib -install_name
>> libdmallocth.dylib -compatibility_version 1 -current_version 1 -o
>> libdmallocth.dylib.t libdmallocth.a
>> [ERROR] arm-freescale-linux-gnueabi-g++: error: libdmallocth.dylib: No
>> such file or directory
>> [ERROR] arm-freescale-linux-gnueabi-g++: error: 1: No such file or
>> directory
>> [ERROR] arm-freescale-linux-gnueabi-g++: error: 1: No such file or
>> directory
>> [ERROR] arm-freescale-linux-gnueabi-g++: error: unrecognized command
>> line option '-install_name'
>> [ERROR] arm-freescale-linux-gnueabi-g++: error: unrecognized command
>> line option '-compatibility_version'
>> [ERROR] arm-freescale-linux-gnueabi-g++: error: unrecognized command
>> line option '-current_version'
>> [ERROR] make[1]: *** [libdmallocth.dylib] Error 1
In other words, right now it is not supported on Mac OS X, and better
off if you just disable building it. Eventually I will start working
towards making sure things either work on *BSD/Mac OS X (along with
work already done by Diorcet Yann and Ray Donnelly.
-Bryan
> Any help is appreciated.
>
> --Rasit
>
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-03 0:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-02 15:45 Building dmalloc 5.5.2 on OS X with crosstool-ng 1.20 Rasit Eskicioglu
2014-12-03 0:52 ` Bryan Hundven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).