Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-3498

Random build failures (mostly segmentation faults/internal compiler errors) on k8 subarch

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • None
    • AMD Athlon(tm) 64 Processor 3000+, 2GB ram, 2GB swap, desktop flavor, current build, x86-64bit arch, amd64-km subarch, kde-plasma-5 mix-in, debian-source-4.8.15 kernel

      Trying to create a working KDE plasma 5 funtoo linux install with the k8 subarch, I got stuck with two issues:

      1. compiling would start to hang (fixed? by overriding the default profile and removing -pipe from CFLAGS)

      2. compiling would sometimes create segmentation faults in python and gcc while emerging world. However, running the same emerge command again allows the package to compile normally.

      Will try to investigate the reason for the odd behavior, it might be hardware specific.
      Or I might have muddled up the configuration. Will try to build the system in a VM
      to test.

      /etc/portage/make.conf
      https://paste.pound-python.org/show/dVc10UJ74DEjWyy2Q0u4/

      emerge --info
      https://paste.pound-python.org/show/xCOYmyOvnQg9zVfpAlD0/

      Snippet of failed build.log:
      https://paste.pound-python.org/show/DGHIvvDSNcLleQ94s1QB/

      Since this is a possible build time issue, might as well document it.

        1. build.log
          9 kB
        2. build-llvm-3.9.1-r1-march=k8.log
          979 kB
        3. DSC_0065.jpeg
          DSC_0065.jpeg
          669 kB
        4. emerge.info
          5 kB
        5. make.conf
          0.1 kB
        6. memtest-results.jpg
          memtest-results.jpg
          574 kB

            Unassigned Unassigned
            hencb hencb [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: