pushd /var/tmp/portage/unixODBC-2.2.8/image/usr/lib /var/tmp/portage/unixODBC-2.2.8/image/usr/lib /usr/local/portage/dev-db/unixODBC /usr/local/portage/net-analyzer/snort bash-2.05b# for a in *.so.* > do > echo $a > readelf -r $a | fgrep PPC_REL24 > done libboundparam.so.1 libboundparam.so.1.0.0 libesoobS.so.1 libesoobS.so.1.0.0 libgtrtst.so.1 libgtrtst.so.1.0.0 libmimerS.so.1 libmimerS.so.1.0.0 libnn.so.1 libnn.so.1.0.0 libodbc.so.1 00069128 0000de0a R_PPC_REL24 00000000 strlen + 0 000693a0 0000de0a R_PPC_REL24 00000000 strlen + 0 000695a0 0000de0a R_PPC_REL24 00000000 strlen + 0 00069644 0000de0a R_PPC_REL24 00000000 strlen + 0 from earlier in the compile: libodbcinstlc.la ../libltdl/libltdlc.la -lpthread echo "{ global:" > .libs/libodbc.ver cat DriverManager.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libodbc.ver echo "local: *; };" >> .libs/libodbc.ver powerpc-pc-linux-uclibc-gcc -shared .libs/SQLAllocConnect.o .libs/SQLAllocEnv.o .libs/SQLAllocHandle.o .libs/SQLAllocHandleStd.o .libs/SQLAllocStmt.o .libs/SQLBindCol.o .libs/SQLBindParam.o .libs/SQLBindParameter.o .libs/SQLBrowseConnect.o .libs/SQLBulkOperations.o .libs/SQLCancel.o .libs/SQLCloseCursor.o .libs/SQLColAttribute.o .libs/SQLColAttributes.o .libs/SQLColumnPrivileges.o .libs/SQLColumns.o .libs/SQLConnect.o .libs/SQLCopyDesc.o .libs/SQLDataSources.o .libs/SQLDescribeCol.o .libs/SQLDescribeParam.o .libs/SQLDisconnect.o .libs/SQLDriverConnect.o .libs/SQLDrivers.o .libs/SQLEndTran.o .libs/SQLError.o .libs/SQLExecDirect.o .libs/SQLExecute.o .libs/SQLExtendedFetch.o .libs/SQLFetch.o .libs/SQLFetchScroll.o .libs/SQLForeignKeys.o .libs/SQLFreeConnect.o .libs/SQLFreeEnv.o .libs/SQLFreeHandle.o .libs/SQLFreeStmt.o .libs/SQLGetConnectAttr.o .libs/SQLGetConnectOption.o .libs/SQLGetCursorName.o .libs/SQLGetData.o .libs/SQLGetDescField.o .libs/SQLGetDescRec.o .libs/SQLGetDiagField.o .libs/SQLGetDiagRec.o .libs/SQLGetEnvAttr.o .libs/SQLGetFunctions.o .libs/SQLGetInfo.o .libs/SQLGetStmtAttr.o .libs/SQLGetStmtOption.o .libs/SQLGetTypeInfo.o .libs/SQLMoreResults.o .libs/SQLNativeSql.o .libs/SQLNumParams.o .libs/SQLNumResultCols.o .libs/SQLParamData.o .libs/SQLParamOptions.o .libs/SQLPrepare.o .libs/SQLPrimaryKeys.o .libs/SQLProcedureColumns.o .libs/SQLProcedures.o .libs/SQLPutData.o .libs/SQLRowCount.o .libs/SQLSetConnectAttr.o .libs/SQLSetConnectOption.o .libs/SQLSetCursorName.o .libs/SQLSetDescField.o .libs/SQLSetDescRec.o .libs/SQLSetEnvAttr.o .libs/SQLSetParam.o .libs/SQLSetPos.o .libs/SQLSetScrollOptions.o .libs/SQLSetStmtAttr.o .libs/SQLSetStmtOption.o .libs/SQLSpecialColumns.o .libs/SQLStatistics.o .libs/SQLTablePrivileges.o .libs/SQLTables.o .libs/SQLTransact.o .libs/SQLBrowseConnectW.o .libs/SQLColAttributeW.o .libs/SQLColAttributesW.o .libs/SQLColumnPrivilegesW.o .libs/SQLColumnsW.o .libs/SQLConnectW.o .libs/SQLDataSourcesW.o .libs/SQLDescribeColW.o .libs/SQLDriverConnectW.o .libs/SQLDriversW.o .libs/SQLErrorW.o .libs/SQLExecDirectW.o .libs/SQLForeignKeysW.o .libs/SQLGetConnectAttrW.o .libs/SQLGetConnectOptionW.o .libs/SQLGetCursorNameW.o .libs/SQLGetDescFieldW.o .libs/SQLGetDescRecW.o .libs/SQLGetDiagFieldW.o .libs/SQLGetDiagRecW.o .libs/SQLGetInfoW.o .libs/SQLGetStmtAttrW.o .libs/SQLGetTypeInfoW.o .libs/SQLNativeSqlW.o .libs/SQLPrepareW.o .libs/SQLPrimaryKeysW.o .libs/SQLProcedureColumnsW.o .libs/SQLProceduresW.o .libs/SQLSetConnectAttrW.o .libs/SQLSetConnectOptionW.o .libs/SQLSetCursorNameW.o .libs/SQLSetDescFieldW.o .libs/SQLSetStmtAttrW.o .libs/SQLSpecialColumnsW.o .libs/SQLStatisticsW.o .libs/SQLTablePrivilegesW.o .libs/SQLTablesW.o .libs/__connection.o .libs/__handles.o .libs/__info.o .libs/__stats.o .libs/__attribute.o -Wl,--whole-archive ../lst/.libs/liblstlc.a ../log/.libs/libloglc.a ../ini/.libs/libinilc.a ../odbcinst/.libs/libodbcinstlc.a ../libltdl/.libs/libltdlc.a -Wl,--no-whole-archive -pthread -ldl -lpthread -Wl,-soname -Wl,libodbc.so.1 -Wl,-version-script -Wl,.libs/libodbc.ver -o .libs/libodbc.so.1.0.0 bash-2.05b# emerge info Portage 2.0.51-r3 (uclibc/ppc, gcc-3.4.1, uclibc-0.9.26-r5, 2.6.9-gentoo-r1 ppc) ================================================================= System uname: 2.6.9-gentoo-r1 ppc 740/750 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.3-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-Os -pipe -mtune=750 -fno-strict-aliasing" CHOST="powerpc-pc-linux-uclibc" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-Os -pipe -mtune=750 -fno-strict-aliasing" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict userpriv" GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc fortran gif gtk2 hardened jpeg pic pie png tiff uclibc vdesktop"
I cannot reproduce this. Merged unixODBC without -fPIC and then executed readelf -r /usr/lib/libodbc.so | grep PPC_REL24. It doesn't give me anything.
Please reopen, if there are still problems.