• Bug#266975: jackd dies with Illegal Instruction.

    From Joern Heusipp@1:229/2 to All on Fri Aug 20 02:00:22 2004
    From: [email protected]

    Package: jackd
    Version: 0.98.1-5
    Severity: important



    -- System Information:
    Debian Release: 3.1
    APT prefers testing
    APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i586)
    Kernel: Linux 2.6.8-rc1-ck5
    Locale: LANG=C, LC_CTYPE=C

    Versions of packages jackd depends on:
    ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libjack0.80.0-0 0.98.1-5 JACK Audio Connection Kit (librari ii libreadline4 4.3-11 GNU readline and history libraries ii libsndfile1 1.0.10-1 Library for reading/writing audio

    -- no debconf information

    jackd dies directly after starting up:

    miraculix:~# jackd -d alsa
    jackd 0.98.1
    Copyright 2001-2003 Paul Davis and others.
    jackd comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details

    Illegal instruction
    miraculix:~#

    jackd starts fine if I build it with the following patch to debian/rules applied.
    If necessary, I can dig deeper into this problem if I find some spare time.

    manx@miraculix:~/source/jack-audio-connection-kit-0.98.1$ diff -uNr debian/rules.old debian/rules
    --- debian/rules.old 2004-08-20 01:03:32.000000000 +0200
    +++ debian/rules 2004-08-20 01:04:48.000000000 +0200
    @@ -34,8 +34,8 @@
    ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
    # do optimization for the different architectures
    ifneq (,$(findstring i386,$(DEB_BUILD_ARCH)))
    - DEB_CONFIGURE_EXTRA_FLAGS += --enable-optimize
    - OPTI_FLAGS := -D_REENTRANT -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce -funroll-loops -fmove-all-movables
    + DEB_CONFIGURE_EXTRA_FLAGS +=
    + OPTI_FLAGS := -D_REENTRANT
    CXXFLAGS += $(OPTI_FLAGS)
    CFLAGS += $(OPTI_FLAGS)
    endif
    manx@miraculix:~/source/jack-audio-connection-kit-0.98.1$

    manx@miraculix:~$ cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 5
    model : 4
    model name : Pentium MMX
    stepping : 4
    cpu MHz : 200.476
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : yes
    coma_bug
  • From Robert Jordens@1:229/2 to All on Fri Aug 20 12:30:13 2004
    From: [email protected]

    Hello!

    [Fri, 20 Aug 2004] Joern Heusipp wrote:
    Architecture: i386 (i586)
    Illegal instruction

    If necessary, I can dig deeper into this problem if I find some spare time.

    No. It's quite clear. THis is 686 optimized stuff that fails on a 585.

    ifneq (,$(findstring i386,$(DEB_BUILD_ARCH)))
    - DEB_CONFIGURE_EXTRA_FLAGS += --enable-optimize
    - OPTI_FLAGS := -D_REENTRANT -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce -funroll-loops -fmove-all-movables

    model name : Pentium MMX

    Yeah. We probably will have to build without optimization...

    Thanks for the report.

    Robert.

    --
    knowledge, n.:
    Things you believe.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)

    iD8DBQFBJcRnHSjkv+Av7xERAlFNAJ99WiCbNW6FupvZfsVi7OlqjoxXLwCeK37O fao70Gd4VXdsN3Nxzhz1t50=
    =EX7L
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)