This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


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

building toolchain on MacOSX - error compiling dmalloc lib with ct-ng v1.18


Dear Titus,
Thank you. Reinstalling gettext lib worked (although I needed to
uninstall everything and then install it back using homebrew).
While doing that kind of testing I found out that:
1. on my PC ct-ng doesn't work when I specify prompt string for bash
(fails with something like "stat: file "%Lp" is not found"). I could
reproduce the exact build.log if needed. Maybe it is worth mentioning
in howto or elsewhere...
2. For each session of bash where I build I need to specify "ulimit -n
1024". Is there a way to specify it somewhere and not to do it
manually?

The next problem I ran into is when building dmalloc lib. I attach
zipped build.log for the error here.
to have the problem indexed in google I paste it here shortly:
"
[ALL  ]    arm-rpi-linux-gnueabi-g++ -dynamiclib -install_name
libdmallocth.dylib -compatibility_version 1 -current_version 1 -o
libdmallocth.dylib.t libdmallocth.a
[ERROR]    arm-rpi-linux-gnueabi-g++: error: unrecognized command line
option '-install_name'
[ERROR]    arm-rpi-linux-gnueabi-g++: error: libdmallocth.dylib: No
such file or directory
[ERROR]    arm-rpi-linux-gnueabi-g++: error: unrecognized command line
option '-compatibility_version'
[ERROR]    arm-rpi-linux-gnueabi-g++: error: 1: No such file or directory
[ERROR]    arm-rpi-linux-gnueabi-g++: error: unrecognized command line
option '-current_version'
[ERROR]    arm-rpi-linux-gnueabi-g++: error: 1: No such file or directory
[ERROR]    make[1]: *** [libdmallocth.dylib] Error 1
[ALL  ]    make[1]: Leaving directory
`/Volumes/CrosstoolCompile1/.build/arm-rpi-linux-gnueabi/build/build-dmalloc'
[ERROR]
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing dmalloc'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR]  >>        called from:
do_debug_dmalloc_build[scripts/build/debug/100-dmalloc.sh@47]
[ERROR]  >>        called from: do_debug[scripts/build/debug.sh@35]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@632]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      'docs/B - Known issues.txt'
[ERROR]
[ERROR]  (elapsed: 32:32.00)
"
Right now I have no clue what to do with it...
Thank you in advance,
Nikolay


> Am 21.03.2013 08:00, schrieb Nikolay:
>
> Dear All,
> Regarding an issue compiling eglibc 2.13 (and 2.15) while building
> toolchain on MacOSX (referred in IRC with the following description -
> "[ERROR] proto.h:61:14: error: expected declaration specifiers or
> '...' before numeric constant" described in the haluk's post here
> http://crosstool-ng.org/download/ibot-logs/2012-06-11.html#quick-09:26:57
> =-) ). I have applied patches found here
> (http://www.sourceware.org/ml/crossgcc/2011-12/msg00021.html; THANKS
> Yann and Titus) and it worked!!! =-)
> So now, as I expected =-), I am facing next yet not last probably error:
> [ALL  ]    Undefined symbols for architecture x86_64:
> [ALL  ]      "_libintl_gettext", referenced from:
> [ALL  ]          _open_output in cross-rpc_main.o
> [ALL  ]          _close_output in cross-rpc_main.o
> [ALL  ]          _find_cpp in cross-rpc_main.o
> [ALL  ]          _close_input in cross-rpc_main.o
> [ALL  ]          _check_nettype in cross-rpc_main.o
> [ALL  ]          _addarg in cross-rpc_main.o
> [ALL  ]          _putarg in cross-rpc_main.o
> [ALL  ]          ...
> [ALL  ]    ld: symbol(s) not found for architecture x86_64
> [ALL  ]    collect2: ld returned 1 exit status
> Nikolay,
> maybe your system doesn't have gettext installed?
> Please have a look into your build log. The reason for the undefined
> symbols should show up there.
> Regards
>
> Titus

Attachment: build.log.xz
Description: Binary data

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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