Hi all,

I was trying to compile the arm port as described in the install guide. 
But I am getting error while compiling the libc and libm. Snip of the error:

<snip>
+ /opt/arm-eabi/arm-pc-solaris2.11/bin/gcc -fident -finline 
-fno-inline-functions -fno-builtin -fno-asm -nodefaultlibs -D__sun 
--sysroot=/space/osol-arm/on-arm/onarm-gate/proto/root_arm -o 
unicode.so.1 -shared -hunicode.so.1 -Wl,-ztext -Wl,-zdefs 
-Wl,-zcombreloc -Wl,-Bdirect -Wl,-Municode-mapfile-vers 
-Wl,-M/space/osol-arm/on-arm/onarm-gate/usr/src/common/mapfiles/arm/map.pagealign
 
-Wl,-M/space/osol-arm/on-arm/onarm-gate/usr/src/common/mapfiles/arm/map.noexdata
 
-Wl,-znoversion -Wl,-znoldynsym pics/u8_textprep.o pics/uconv.o 
-L/space/osol-arm/on-arm/onarm-gate/proto/root_arm/lib 
-L/space/osol-arm/on-arm/onarm-gate/proto/root_arm/usr/lib ../libc.so.1
/opt/arm-eabi/arm-pc-solaris2.11/bin/ld: unrecognized option '-Bdirect'
/opt/arm-eabi/arm-pc-solaris2.11/bin/ld: use the --help option for usage 
information
collect2: ld returned 1 exit status
*** Error code 1
dmake: Fatal error: Command failed for target `unicode.so.1'
Current working directory 
/space/osol-arm/on-arm/onarm-gate/usr/src/lib/libc/arm/unicode
<snip>

Any clue as to why this is happening?
ld --help does not have any information about the Bdirect flag..

Please let me know how to get this corrected..

Thanks in advance!

~Vineeth

Reply via email to