Summary: | dev-db/unixODBC-2.2.11-r1 fails on sparc with "gcc: cannot specify -o with -c or -S and multiple compil ations" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Duncan Coutts (RETIRED) <dcoutts> |
Component: | New packages | Assignee: | Ryan Phillips (RETIRED) <rphillips> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | sparc |
Priority: | High | ||
Version: | 2005.0 | ||
Hardware: | Sparc | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Duncan Coutts (RETIRED)
2006-03-06 12:01:47 UTC
For what it's worth, I have not been able to reproduce this problem on my sparc. Here are the last few lines of the result of running 'ebuild unixODBC-2.2.11-r1.ebuild compile' on my machine: sparc-unknown-linux-gnu-gcc -O2 -mcpu=ultrasparc -Wall -Wunused -o .libs/gODBCConfig main.o -rdynamic -rdynamic -L/usr/lib /usr/lib/libgnomeui.so /usr/lib/libart_lgpl.so /usr/lib/libgdk_imlib.so -lSM -lICE /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so -lXi -lXext -lX11 /usr/lib/libgnome.so /usr/lib/libgnomesupport.so -lz /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm -ldb1 /usr/lib/libglib.so -L/var/tmp/portage/unixODBC-2.2.11-r1/work/unixODBC-2.2.11/lib /usr/lib/libodbcinst.so -ldl ./.libs/libgtkodbcconfig.so ../../ini/.libs/libinilc.a -lpthread creating gODBCConfig make[2]: Leaving directory `/var/tmp/portage/unixODBC-2.2.11-r1/work/unixODBC-2.2.11/gODBCConfig/src' make[2]: Entering directory `/var/tmp/portage/unixODBC-2.2.11-r1/work/unixODBC-2.2.11/gODBCConfig' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/var/tmp/portage/unixODBC-2.2.11-r1/work/unixODBC-2.2.11/gODBCConfig' make[1]: Leaving directory `/var/tmp/portage/unixODBC-2.2.11-r1/work/unixODBC-2.2.11/gODBCConfig' >>> Source compiled. And here is the output from emerge --info on my system: # emerge --info Portage 2.1_pre5-r4 (default-linux/sparc/sparc64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r7 sparc64) ================================================================= System uname: 2.6.15-gentoo-r7 sparc64 sun4u Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r4 ACCEPT_KEYWORDS="sparc ~sparc" AUTOCLEAN="yes" CBUILD="sparc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=ultrasparc" CHOST="sparc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mcpu=ultrasparc" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo-distfiles.mirrors.tds.net" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="sparc X apache2 arts avi berkdb bitmap-fonts crypt cups dlloader eds encode esd fbcon foomaticdb fortran gcc64 gdbm gif gnome gstreamer gtk gtk2 imlib jpeg kde libwww mad mikmod motif mpeg ncurses nls nptl ogg opengl oss pam pdflib perl png python qt readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xv zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY Howeer, when testing the unixODBC-2.2.11-r1 build on my sparc, I get the error noted in bug 102689 whenever I try to run OBDCConfig. It would be helpful to be able to use this tool when trying to configure unixODBC. I emerged dev-db/unixODBC-2.2.11-r1 again (after updating a couple other packages) and did not get the problem, so I dunno what's going on there. (In reply to comment #2) > I emerged dev-db/unixODBC-2.2.11-r1 again (after updating a couple other > packages) and did not get the problem, so I dunno what's going on there. Closing then, reopen if it's still an issue. |