------- Comment #9 from oblivian at users dot sourceforge dot net 2008-03-31 23:25 ------- (In reply to comment #8) > I'm going to start looking into where sys_lib_search_path_spec is set and find > the deltas between the two versions since I'm not sure where else to look. >
So looking at the delta between the two libtool files in stage 1 and stage 2 bfd shows: -sys_lib_search_path_spec="/media/disk-3/tools-006eaa66298e39accdc34d3ca2530559/ usr/lib/gcc/i686-pc-linux-gnu/4.3.0 /media/disk-3/tools-006eaa66298e39accdc34d3c a2530559/usr/lib/gcc /media/disk-3/tools-006eaa66298e39accdc34d3ca2530559/usr/i6 86-pc-linux-gnu/lib /media/disk-3/tools-006eaa66298e39accdc34d3ca2530559/usr/lib /lib /usr/lib" +sys_lib_search_path_spec="/media/disk-3/build/scripts/tools/toolchain-pass-2/bu ild/prev-gcc /tools-006eaa66298e39accdc34d3ca2530559/usr/i686-pc-linux-gnu/bin / lib /usr/lib" The - is the stage 1 bfd build directory and + is the stage 2 bfd. Libtool is not including the tools library directories in stage 2. Please ignore the uuid I use to differentiate tools directories since they are symlinked to the host system's root directory. Note this is currently with the exec-tools.in patch applied. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35752