To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=43612 Issue #:|43612 Summary:|64bit: gccinstlib.pl and "dual" gcc Component:|porting Version:|current Platform:|Opteron/x86_64 URL:| OS/Version:|Linux Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|hjs Reported by:|pjanik
------- Additional comments from [EMAIL PROTECTED] Sun Feb 27 00:50:55 -0800 2005 ------- Hi, my gcc on AMD64 is compiled to have both 32bit and also 64bit libs, so: [EMAIL PROTECTED]:/tmp/GCC341> find . -name libstdc++.so.6 -o -name libgcc_s.so.1 ./lib/libgcc_s.so.1 ./lib/libstdc++.so.6 ./lib64/libgcc_s.so.1 ./lib64/libstdc++.so.6 [EMAIL PROTECTED]:/tmp/GCC341> but gcclibinst.pl is constantly choosing bad 32bit libs libs to copy to solver. They are ignored, but the final set does not contain proper libs, so I have to use LD_LIBRARY_PATH. I solved this temporary by removing these 32bit libs, but gccinstlib should (IMO) use different mechanism to copy libs. I have tested gcc's -print-file-name and it seems to be ideal for our purpose. On x86: [EMAIL PROTECTED]:~/BuildDir/ooo_SRC680_m82_src> gcc -print-file-name=libstdc++.so.6 /disk2/OpenOffice.org/GCC341/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../libstdc++.so.6 [EMAIL PROTECTED]:~/BuildDir/ooo_SRC680_m82_src> gcc -print-file-name=libgcc_s.so.1 /disk2/OpenOffice.org/GCC341/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../libgcc_s.so.1 [EMAIL PROTECTED]:~/BuildDir/ooo_SRC680_m82_src> On AMD64: [EMAIL PROTECTED]:~/BuildDir/ooo_ooo64bit02_src> gcc -print-file-name=libstdc++.so.6 /tmp/GCC341/lib/gcc/x86_64-unknown-linux-gnu/3.4.1/../../../../lib64/libstdc++.so.6 [EMAIL PROTECTED]:~/BuildDir/ooo_ooo64bit02_src> gcc -print-file-name=libgcc_s.so.1 /tmp/GCC341/lib/gcc/x86_64-unknown-linux-gnu/3.4.1/../../../../lib64/libgcc_s.so.1 [EMAIL PROTECTED]:~/BuildDir/ooo_ooo64bit02_src> What do you think? --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]