sim/2118: Can't build 'run' under OSX host.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

sim/2118: Can't build 'run' under OSX host.

Masaki MURANAKA

>Number:         2118
>Category:       sim
>Synopsis:       Can't build 'run' under OSX host.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 20 04:08:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     [hidden email]
>Release:        CVS HEAD (on Apr 20,2006)
>Organization:
>Environment:
--host=powerpc-apple-darwin8
>Description:
Can't build run under powerpc-apple-darwin8 host.
Error messages are follows:
gcc -DHAVE_CONFIG_H     -DPROFILE=1 -DWITH_PROFILE=-1          -DDEFAULT_INLINE=0           -DMODET -DNEED_UI_LOOP_HOOK -DSIM_TARGET_SWITCHES   -I. -I../../../../src/sim/arm -I../common -I../../../../src/sim/arm/../common -I../../include -I../../../../src/sim/arm/../../include -I../../bfd -I../../../../src/sim/arm/../../bfd -I../../opcodes -I../../../../src/sim/arm/../../opcodes -I../../intl -I../../../../src/sim/arm/../../intl -g -O2  -o run ¥
  run.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a  ../../libiberty/libiberty.a  
/usr/bin/ld: Undefined symbols:
_dcgettext
collect2: ld returned 1 exit status
make[1]: *** [run] Error 1
make: *** [all] Error 1


I've tested with arm-elf. I guess this issue is a target independent. I'm not sure if  host specific or not.
There is no problem in my environment, as my machine can build gas/ld (revision:HEAD) with no problem.
>How-To-Repeat:
$ ../src/configure --host=powerpc-apple-darwin8 --target=arm-elf
$ make
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: