[cl-debian] Bug#316685: sbcl: ftbfs [sparc] invalid lvalue in assignment

Package: sbcl Version: 1:0.9.2.0-1 Severity: normal sbcl fails to build on sparc, duplicated on my sparc pbuilder. (There are many warnings in the build log before this.) gcc-4.0 -g -Wall -O3 -DSBCL_HOME='"/usr/lib/sbcl/"' -I. -c -o sparc-arch.o sparc-arch.c In file included from sparc-arch.c:23: interr.h:15: warning: type qualifiers ignored on function return type sparc-arch.c: In function 'arch_get_bad_addr': sparc-arch.c:52: warning: comparison between pointer and integer sparc-arch.c:53: warning: comparison between pointer and integer sparc-arch.c:54: warning: comparison of distinct pointer types lacks a cast sparc-arch.c:55: warning: comparison of distinct pointer types lacks a cast sparc-arch.c: In function 'arch_skip_instruction': sparc-arch.c:89: error: invalid lvalue in assignment sparc-arch.c:90: error: invalid lvalue in assignment sparc-arch.c: In function 'sigemt_handler': sparc-arch.c:311: warning: suggest parentheses around assignment used as truth value make[1]: *** [sparc-arch.o] Error 1

Blars Blarson schreef:
Package: sbcl Version: 1:0.9.2.0-1 Severity: normal
sbcl fails to build on sparc, duplicated on my sparc pbuilder. (There are many warnings in the build log before this.)
gcc-4.0 -g -Wall -O3 -DSBCL_HOME='"/usr/lib/sbcl/"' -I. -c -o sparc-arch.o sparc-arch.c
This is strange. It works with me. What is the debian version of gcc and what does 'gcc-4.0 -v' give? Groetjes, Peter -- signature -at- pvaneynd.mailworks.org http://www.livejournal.com/users/pvaneynd/ "God, root, what is difference?" Pitr | "God is more forgiving." Dave Aronson|

On Sun, Jul 03, 2005 at 10:12:34AM +0200, Peter Van Eynde wrote:
This is strange. It works with me. What is the debian version of gcc and what does 'gcc-4.0 -v' give?
Script started on Sun Jul 3 06:27:06 2005 ]0;root@sundry: /home/blarson/srcsundry:/home/blarson/src# pbuilder login W: /root/.pbuilderrc does not exist Building the build Environment -> extracting base tarball [/var/cache/pbuilder/base.tgz] -> creating local configuration -> copying local configuration -> mounting /proc filesystem -> mounting /dev/pts filesystem -> policy-rc.d already exists Obtaining the cached apt archive contents find: warning: you have specified the -maxdepth option after a non-option argument -name, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. -> entering the shell File extracted to: /var/cache/pbuilder/build//2537 ]0;root@sundry: /sundry:/# apt-get install gcc-4.0 Reading package lists... 0% Reading package lists... 100% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 69% Building dependency tree... 94% Building dependency tree... Done The following extra packages will be installed: cpp-4.0 gcc-4.0-base Suggested packages: gcc-4.0-locales gcc-4.0-doc Recommended packages: libmudflap0-dev The following NEW packages will be installed: cpp-4.0 gcc-4.0 gcc-4.0-base 0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded. Need to get 0B/2463kB of archives. After unpacking 5444kB of additional disk space will be used. Do you want to continue [Y/n]? y WARNING: The following packages cannot be authenticated! gcc-4.0-base cpp-4.0 gcc-4.0 Install these packages without verification [y/N]? y debconf: delaying package configuration, since apt-utils is not installed Selecting previously deselected package gcc-4.0-base. (Reading database ... 8782 files and directories currently installed.) Unpacking gcc-4.0-base (from .../gcc-4.0-base_4.0.0-9_sparc.deb) ... Selecting previously deselected package cpp-4.0. Unpacking cpp-4.0 (from .../cpp-4.0_4.0.0-9_sparc.deb) ... Selecting previously deselected package gcc-4.0. Unpacking gcc-4.0 (from .../gcc-4.0_4.0.0-9_sparc.deb) ... Setting up gcc-4.0-base (4.0.0-9) ... Setting up cpp-4.0 (4.0.0-9) ... Setting up gcc-4.0 (4.0.0-9) ... ]0;root@sundry: /sundry:/# gcc -4.0 -v Using built-in specs. Target: sparc-linux Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-mpfr --disable-werror --with-cpu=v7 --enable-checking=release sparc-linux Thread model: posix gcc version 4.0.1 20050522 (prerelease) (Debian 4.0.0-8) ]0;root@sundry: /sundry:/# gcc dpkg -l gcc Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii gcc 3.3.6-1 The GNU C compiler ]0;root@sundry: /sundry:/# exit Copying back the cached apt archive contents find: warning: you have specified the -maxdepth option after a non-option argument -name, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. -> unmounting dev/pts filesystem -> unmounting proc filesystem -> cleaning the build env -> removing directory /var/cache/pbuilder/build//2537 and its subdirectories find: warning: you have specified the -xdev option after a non-option argument (, but options are not positional (-xdev affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -xdev option after a non-option argument -type, but options are not positional (-xdev affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -depth option after a non-option argument -type, but options are not positional (-depth affects tests specified before it as well as those specified after it). Please specify options before other arguments. ]0;root@sundry: /home/blarson/srcsundry:/home/blarson/src# exit Script done on Sun Jul 3 06:32:30 2005 -- Blars Blarson blarson@blars.org http://www.blars.org/blars.html With Microsoft, failure is not an option. It is a standard feature.
participants (2)
-
Blars Blarson
-
Peter Van Eynde