On Thu, 2008-04-10 at 20:34 +0100, Richard Danter wrote: > Hi all, > > Using a new toolchain I am seeing the following warnings at the final > link stage of U-Boot: > > warning: library search path "/lib" is unsafe for cross-compilation > warning: library search path "/usr/lib" is unsafe for cross-compilation > warning: library search path "/usr/local/lib" is unsafe for cross-compilation > > Looking further I can see in the u-boot.lds scripts that SEARCH_DIR is > specifying each of these directories. I am unsure why a cross-compiled > bootloader would specify that the linker should look in the hosts > directories for libraries. > > Can anyone explain this? > > Thanks > Rich
You should delete that from the linker script. There is several scripts that has this error it's not needed and wrong as you suspected. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ U-Boot-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/u-boot-users
