From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48930 invoked by alias); 22 Apr 2015 17:50:33 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 48916 invoked by uid 89); 22 Apr 2015 17:50:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-ob0-f182.google.com Received: from mail-ob0-f182.google.com (HELO mail-ob0-f182.google.com) (209.85.214.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 22 Apr 2015 17:50:31 +0000 Received: by obcux3 with SMTP id ux3so71717796obc.2 for ; Wed, 22 Apr 2015 10:50:29 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.92.165 with SMTP id cn5mr24650763obb.10.1429725029612; Wed, 22 Apr 2015 10:50:29 -0700 (PDT) Received: by 10.182.227.74 with HTTP; Wed, 22 Apr 2015 10:50:29 -0700 (PDT) Date: Wed, 22 Apr 2015 17:50:00 -0000 Message-ID: From: =?UTF-8?Q?Claus_Lensb=C3=B8l?= To: ecos-discuss@ecos.sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Subject: [ECOS] Error compilling synth target X-SW-Source: 2015-04/txt/msg00008.txt.bz2 Hi I'm trying to compile a synth target with eCos. I downloaded using the tcl-script, and are running the configtool to select the target. I have set CYGBLD_GLOBAL_COMMAND_PREFIX to empty, to use the system stack, however I cannot get it to compile due to "loss of precision" errors. If I add -fpermissive to the compile I get further but end up with a lot of: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:387: Error: operand type mismatch for `push' make: Leaving directory '/home/cmol/Dropbox/Documents/DTU/34299-Fagprojekt/eCos_synth_system_build' /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:387: Error: operand type mismatch for `pop' /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:388: Error: operand type mismatch for `push' /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:388: Error: operand type mismatch for `pop' /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:389: Error: operand type mismatch for `push' /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:389: Error: operand type mismatch for `pop' /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:390: Error: operand type mismatch for `push' /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:390: Error: operand type mismatch for `pop' /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:391: Error: operand type mismatch for `push' /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:391: Error: operand type mismatch for `pop' /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:392: Error: operand type mismatch for `push' /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:392: Error: operand type mismatch for `pop' /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:393: Error: operand type mismatch for `push' ........ loads more /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:432: Error: operand type mismatch for `pop' /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:432: Error: operand type mismatch for `pop' /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux= -1.0.S:452: Error: invalid instruction suffix for `pop' /tmp/ccr4YNvl.s: Error: .size expression for __restore_rt does not evaluate to a constant /tmp/ccr4YNvl.s: Error: .size expression for __restore does not evaluate to a constant =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I'm running on a ubuntu 14.10 system wit gcc: gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu 4.9.1-16ubuntu6' --with-bugurl=3Dfile:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=3Dc,c++,java,go,d,fortran,objc,obj-c++ --prefix=3D/usr --program-suffix=3D-4.9 --enable-shared --enable-linker-build-id --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --with-gxx-include-dir=3D/usr/include/c++/4.9 --libdir=3D/usr/lib --enable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=3Dgtk --enable-gtk-cairo --with-java-home=3D/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=3D/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=3D/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=3Damd64 --with-ecj-jar=3D/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=3Di686 --with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --enable-multilib --with-tune=3Dgeneric --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --host=3Dx86_64-linux-gnu --target=3Dx86_64-linux-gnu Thread model: posix gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6) ld -v GNU ld (GNU Binutils for Ubuntu) 2.24.90.20141014 Any clue as to what goes wrong? --=20 Kind regards Claus Lensb=C3=B8l -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss