Gentoo Base System version 1.12.6 Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.60GHz Last Sync: Sun, 24 Dec 2006 13:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo " LINGUAS="fr" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib acpi alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 arts avi berkdb bitmap-fonts cairo cdparanoia cdr cli cracklib crypt cups dga dlloader dri dvb dvd dvdread elibc_glibc encode foomaticdb fortran gdbm gimpprint gpm gtk hal iconv icq input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg jpg kde kernel_linux libg++ linguas_fr mmx mpeg mysql ncurses nls nptl nptlonly opengl oss pam pcre pda pdf perl ppds pppd python qt qt3 readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_i810 video_cards_i830 video_cards_i915 xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
"include this in your bug report" doesn't mean "put this in summary and nothing more" what is your problem?
{standard input}:4433: Error:unknown pseudo-op: '.weakref' {standard input}:4434: Error:unknown pseudo-op: '.weakref' {standard input}:4435: Error:unknown pseudo-op: '.weakref' make: *** [cxx_db.lo]Error 1 !!! Error: sys-libs/db-4.2.52-p4-r2 failed. call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile db-4.2.52_p4-r2.ebuild, line 103: Called die !!!!make failed !!!! if you need support ... !!! When you file a bug report, please include the following information: GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH="" JAVA_HOME="opt/blackdown-jdk-1.4.2.03" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" I made an emerge -e system and i had this error. Before I made emerge -uD gqview but I did not remember that the option "~X86" was in my make.conf (I am a beginner). Thanks!
.
Kindly post a couple more than those 3 lines without any context whatsoever. Thanks.
I hope it's help. localhost dwm # emerge sys-libs/db >> toto.txt configure: WARNING: I have to compile Test.class from scratch configure: WARNING: O_DIRECT interface ignored on linux-gnu-pc. In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/backward/iostream.h:31, from ./db_cxx.h:59, from ../dist/../cxx/cxx_db.cpp:17: /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. {standard input}: Assembler messages: {standard input}:4422: Error: unknown pseudo-op: `.weakref' {standard input}:4423: Error: unknown pseudo-op: `.weakref' {standard input}:4424: Error: unknown pseudo-op: `.weakref' {standard input}:4425: Error: unknown pseudo-op: `.weakref' {standard input}:4426: Error: unknown pseudo-op: `.weakref' {standard input}:4427: Error: unknown pseudo-op: `.weakref' {standard input}:4428: Error: unknown pseudo-op: `.weakref' {standard input}:4429: Error: unknown pseudo-op: `.weakref' {standard input}:4430: Error: unknown pseudo-op: `.weakref' {standard input}:4431: Error: unknown pseudo-op: `.weakref' {standard input}:4432: Error: unknown pseudo-op: `.weakref' {standard input}:4433: Error: unknown pseudo-op: `.weakref' {standard input}:4434: Error: unknown pseudo-op: `.weakref' {standard input}:4435: Error: unknown pseudo-op: `.weakref' make: *** [cxx_db.lo] Error 1 !!! ERROR: sys-libs/db-4.2.52_p4-r2 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile db-4.2.52_p4-r2.ebuild, line 103: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info ---------------------------------------------------------------------- java-config-1 --list -available-vms The following JDKs are available for generation-1: *) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2.03] java-config-2 -L The following VMs are available for generation-2: 1) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] *) Sun JDK 1.5.0.09 [sun-jdk-1.5]
run these commands: echo 'int main(){}' > test.cpp g++ test.cpp >& test.log g++ -v test.cpp >& test.verbose.log g++ -S test.cpp -o test.S g++ -E test.cpp -o test.ii g++ -E -dD test.cpp -o test.ii.dd and then post each of those files as attachments
It seems indeed that something on the toolchain is broken.
Created attachment 105404 [details] test.verbose.log test.log is empty
Created attachment 105405 [details] test.S
Created attachment 105406 [details] test.ii
Created attachment 105407 [details] test.ii.dd Thanks a lot!
you're saying that `g++ test.cpp` worked ? if that's true, please redo those tests, but use this for your test.cpp: #include <iostream> void someoutput (void) { std::cout << 123; } int main (void) { return 0; }
Created attachment 105419 [details] test.log It seems it did not worked.
Created attachment 105420 [details] test.verbose.log
Created attachment 105421 [details] test.ii
Created attachment 105422 [details] test.ii.dd
Created attachment 105423 [details] test.S
for some reason your gcc thinks your assembler supports .weakref when it obviously does not ... did you have newer versions of binutils installed at some point ? if you built gcc-4.1.1 with binutils-2.17 but then downgraded your binutils to 2.16.1, you'd hit this
localhost dwm # equery list binutils [ Searching for package 'binutils' in all categories among: ] * installed packages [I--] [ -] sys-devel/binutils-2.16.1-r3 (0) [I--] [ ] sys-devel/binutils-config-1.9-r3 (0) I don't know if i had a newer version installed before. Is there a command that gives all the versions that where built? What can i do exactly? Thanks a lot!!
run `qlop -l binutils` ... if you dont have `qlop`, run `emerge portage-utils`
solution: dont downgrade your binutils
*** Bug 147303 has been marked as a duplicate of this bug. ***
*** Bug 149710 has been marked as a duplicate of this bug. ***
*stabs vapier* don't add me to bugs that don't concern me please
if you actually read the bug you'd see that this explained the duped bug report *you filed*
*** Bug 172881 has been marked as a duplicate of this bug. ***
*** Bug 144563 has been marked as a duplicate of this bug. ***
*** Bug 182766 has been marked as a duplicate of this bug. ***
*** Bug 186592 has been marked as a duplicate of this bug. ***
*** Bug 186594 has been marked as a duplicate of this bug. ***
*** Bug 186595 has been marked as a duplicate of this bug. ***
*** Bug 187549 has been marked as a duplicate of this bug. ***