Details

      Description

      gcc 4.8.2 is ancient, even Debian Jessie uses a newer version.

      Once we've implemented this, we can fox SIO-1843 and add c11 support.

        Issue Links

          Activity

          Hide
          Maciej Matraszek added a comment -
          The attached archive contains a rudimentary tutorial and files used to build the current packages. In short, one needs to select necessary .deb packages and unpack them, possibly pruning the docs.

          Also, remember that sioworkers will patch binary files found in the archive with compilers. This should be disabled for statically compiled executables with an ".elf_patcher_blacklist" file. For a reference, check the fpc compiler sandbox: "~/.sio-sandboxes/compiler-fpc.2_4_4/.elf_patcher_blacklist"
          Show
          Maciej Matraszek added a comment - The attached archive contains a rudimentary tutorial and files used to build the current packages. In short, one needs to select necessary .deb packages and unpack them, possibly pruning the docs. Also, remember that sioworkers will patch binary files found in the archive with compilers. This should be disabled for statically compiled executables with an ".elf_patcher_blacklist" file. For a reference, check the fpc compiler sandbox: "~/.sio-sandboxes/compiler-fpc.2_4_4/.elf_patcher_blacklist"
          Hide
          Wojciech Dubiel added a comment -
          >gcc 4.8.2 is ancient,
          The 4.8.x series had a last release in 2015. If you coinsider that ancient, then guess what? Half the computers in MIMUW computer lab are ancient.

          >even Debian Jessie uses a newer version.
          just barely newer. It uses 4.9, and it still has 4.8 available.

          Also, you say it like Debian Jessie was an old distro, while
          - it's still supported
          - was the latest Debian stable at the moment you wrote the ticket

          That being said, teqwve recently made a gcc 6.3 package for sioworkers, so as soon as we somehow get gcc 6.3 running on contestant's workstation image for onsite contests (which is Debian 8 based), we'll be able to globally switch to 6.3.

          Assistance of someone familiar with building gcc from source, and/or developing debian packages, is very welcome.
          Show
          Wojciech Dubiel added a comment - >gcc 4.8.2 is ancient, The 4.8.x series had a last release in 2015. If you coinsider that ancient, then guess what? Half the computers in MIMUW computer lab are ancient. >even Debian Jessie uses a newer version. just barely newer. It uses 4.9, and it still has 4.8 available. Also, you say it like Debian Jessie was an old distro, while - it's still supported - was the latest Debian stable at the moment you wrote the ticket That being said, teqwve recently made a gcc 6.3 package for sioworkers, so as soon as we somehow get gcc 6.3 running on contestant's workstation image for onsite contests (which is Debian 8 based), we'll be able to globally switch to 6.3. Assistance of someone familiar with building gcc from source, and/or developing debian packages, is very welcome.
          Hide
          Maciej Matraszek added a comment -
          czw., 16.08.2018, 21:24 użytkownik Wojciech Dubiel (JIRA) <

          I considered it ancient like two years ago. ;) And I guess that Chrome in
          labs is still not updated by now...



          Debian stable is too stable for some :), especially when it comes to modern
          language features requested by the contestants.




          I think, the last time, we did it the other way around - we took the
          compiler from contestants' system image and made it work on grading
          machines.
          Building Debian packages without any new dependencies is (was?) pretty easy
          - just take the template, update package name and conflicts and you're done.


          Show
          Maciej Matraszek added a comment - czw., 16.08.2018, 21:24 użytkownik Wojciech Dubiel (JIRA) < I considered it ancient like two years ago. ;) And I guess that Chrome in labs is still not updated by now... Debian stable is too stable for some :), especially when it comes to modern language features requested by the contestants. I think, the last time, we did it the other way around - we took the compiler from contestants' system image and made it work on grading machines. Building Debian packages without any new dependencies is (was?) pretty easy - just take the template, update package name and conflicts and you're done.
          Hide
          Wojciech Dubiel added a comment -
          We took GCC 6.3 from Debian 9, so we need to either update oizaw from deb8 to deb9, or backport gcc 6.3 to deb8.
          The problem with the latter is you need to configure the package build scripts in such a way that the resulting package can be installed side-by-side with the old compilers.
          Show
          Wojciech Dubiel added a comment - We took GCC 6.3 from Debian 9, so we need to either update oizaw from deb8 to deb9, or backport gcc 6.3 to deb8. The problem with the latter is you need to configure the package build scripts in such a way that the resulting package can be installed side-by-side with the old compilers.

            People

            • Assignee:
              Unassigned
              Reporter:
              Marcin Mielniczuk
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: