Hello, Works for me too, on 64bits linux... Some hints from google seems to point that you are trying to run a 32-bit version of GHDL (cf: "...gcc/i686-pc-linux-gnu...") on a 64-bit machine.
By the way, you are defining twice the "--workdir", which may not do what you expect... Regards, Christophe. On Thursday 16 December 2010 22:24, Greg Beaton wrote: > Is this a bug? > > I get a compile error but its reported in the s file generated by ghdl > - The s file is created but it is then processed by the assembler, > /usr/bin/as which flags an error in the s file. > > > I am using a binary distribution show below: > > [gbea...@wt0433 generic_lib]$ ghdl --version > GHDL 0.29 (20100109) [Sokcho edition] > Compiled with GNAT Version: GPL 2008 (20080521) > GCC back-end code generator > Written by Tristan Gingold. > > Copyright (C) 2003 - 2010 Tristan Gingold. > GHDL is free software, covered by the GNU General Public License. There is > NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. [gbea...@wt0433 generic_lib]$ > > > My gcc version is 4.1.2 (but I would think that that shouldn't matter > for the binary distribution). > > > In the example below, one of the base vhdl files (attached) is > compiled by itself and produces errors. > > [gbea...@wt0433 generic_lib]$ ghdl -a -g -v --workdir=work > --work=wavesat --ieee=synopsys std_functions_pkg.vhd > /usr/local/libexec/gcc/i686-pc-linux-gnu/4.3.4/ghdl1 -g --workdir=work > --work=wavesat > -P/usr/local/lib/gcc/i686-pc-linux-gnu/4.3.4/vhdl/lib//v93/std/ > -P/usr/local/lib/gcc/i686-pc-linux-gnu/4.3.4/vhdl/lib//v93/synopsys/ -quiet > -o work/std_functions_pkg.s std_functions_pkg.vhd > /usr/bin/as -o work/std_functions_pkg.o work/std_functions_pkg.s > work/std_functions_pkg.s: Assembler messages: > work/std_functions_pkg.s:131: Error: suffix or operands invalid for `push' > work/std_functions_pkg.s:208: Error: suffix or operands invalid for `push' > work/std_functions_pkg.s:259: Error: suffix or operands invalid for `push' > work/std_functions_pkg.s:300: Error: suffix or operands invalid for `push' > work/std_functions_pkg.s:328: Error: suffix or operands invalid for `push' > work/std_functions_pkg.s:360: Error: suffix or operands invalid for `push' > work/std_functions_pkg.s:392: Error: suffix or operands invalid for `push' > work/std_functions_pkg.s:718: Error: suffix or operands invalid for `push' > work/std_functions_pkg.s:744: Error: suffix or operands invalid for `push' > work/std_functions_pkg.s:970: Error: suffix or operands invalid for `push' > work/std_functions_pkg.s:1202: Error: suffix or operands invalid for `push' > work/std_functions_pkg.s:1397: Error: suffix or operands invalid for `push' > ghdl: compilation error > > > Thanks, > Greg _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
