Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-28237

Add support for modern Linux/m68k (and ColdFire)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • 4.8.6
    • None
    • Core: Other
    • None
    • Debian/m68k unstable, Kernel 3.2.32, eglibc 2.13, gcc 4.6 with atomic builtins backport added

    • db13a5a2fe48da963e0c471cd88b56148aa2b65e

      As already stated, qt4-x11 currently does not build on m68k due to using the generic atomics code. I'm currently working - tracked at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660963 - at adding code to Qt for it to use GCC's builtin atomics (__sync_val_compare_and_swap() and friends), which either Debian or upstream already have done for the AVR32 platform, and support for which I backported on gcc-4.6 (our current workhorse compiler) but which is also available in gcc-4.7 from the FSF.

      GCC's atomics code on Linux/m68k and Linux/ColdFire, with or without MMU, works by using a syscall (kernel helper) because the CPU's built-in compare-and-swap function is not reliably usable: there have been emulator bugs with it, it's said there are hardware bugs with it, not all CPUs have it (older 680x0 and all ColdFire), and it doesn't work on all platforms on all RAM types (e.g. Amiga ChipRAM). The Linux/m68k

      {,nommu}

      maintainers say that to use the syscall is the way forward in all things atomic.

      I'm opening this task here right now, so people interested can peek at it (and assign it to the correct Component, I choose Other because I don't know which one is right), and will report back with success once done

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mirabilos Thorsten Glaser
            mirabilos Thorsten Glaser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 weeks
                4w
                Remaining:
                Remaining Estimate - 4 weeks
                4w
                Logged:
                Time Spent - Not Specified
                Not Specified

                  There are no open Gerrit changes