3 Replies Latest reply on Apr 17, 2010 2:50 PM by dgilmore

    bug in open64 i think

    jrch2k8
      wierd issues at optimization phase

      ok, im trying to compile mesa using open64 as an experiment but after almost all is compiled i got this 

       

       

      Signal: Segmentation fault in Global Optimization -- Mainopt Lowering phase.

      Error: Signal Segmentation fault in phase Global Optimization -- Mainopt Lowering -- processing aborted

      *** Internal stack backtrace:

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x1e7597) [0x5575d597]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x1e8411) [0x5575e411]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x1e81a5) [0x5575e1a5]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(ErrMsgLine+0x2c) [0x5575e21c]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x1e8e31) [0x5575ee31]

          [0x55573400]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x1383c6) [0x556ae3c6]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x14b6c5) [0x556c16c5]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x13d761) [0x556b3761]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(lower_block+0x5e3) [0x556c3e63]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x14e3d9) [0x556c43d9]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x13b6ab) [0x556b16ab]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(lower_block+0x1d0) [0x556c3a50]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x13c38d) [0x556b238d]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(lower_block+0x1d0) [0x556c3a50]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x14e3d9) [0x556c43d9]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x13b6ab) [0x556b16ab]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(lower_block+0x1d0) [0x556c3a50]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x14e3d9) [0x556c43d9]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x13b6ab) [0x556b16ab]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(lower_block+0x1d0) [0x556c3a50]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x13c200) [0x556b2200]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(lower_block+0x1d0) [0x556c3a50]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x13c200) [0x556b2200]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(lower_block+0x1d0) [0x556c3a50]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(+0x154c92) [0x556cac92]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be.so(WN_Lower+0x463) [0x556cca53]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/wopt.so(Pre_Optimizer+0x18d5) [0x55ec4dc5]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/wopt.so(Perform_Global_Optimization+0x82) [0x55f30c52]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be() [0x805051f]

          /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be() [0x80515fa]

      opencc INTERNAL ERROR: /opt/open64/lib/gcc-lib/x86_64-open64-linux/4.2.3.1/be died due to signal 4

      opencc ERROR: core dumped

      this error present itself in the folder mesa/src/mesa/drivers/dri/r200 of mesa git 13/04/2010
      my system
      00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
      00:01.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx)
      00:05.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 1)
      00:06.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 2)
      00:07.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 3)
      00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
      00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
      00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
      00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
      00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
      00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
      00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
      00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
      00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
      00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
      00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
      00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
      00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
      00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
      00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
      00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
      01:05.0 VGA compatible controller: ATI Technologies Inc RS690M [Radeon X1200 Series]
      0e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 01)
      14:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
      1a:04.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
      1a:04.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
      1a:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
      1a:04.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
      GCC 
      Using built-in specs.
      Target: x86_64-linux-gnu
      Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
      Thread model: posix
      gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
      CPU
      processor       : 1
      vendor_id       : AuthenticAMD
      cpu family      : 15
      model           : 72
      model name      : AMD Turion(tm) 64 X2 Mobile Technology TL-52
      stepping        : 2
      cpu MHz         : 800.000
      cache size      : 512 KB
      physical id     : 0
      siblings        : 2
      core id         : 1
      cpu cores       : 2
      apicid          : 1
      initial apicid  : 1
      fpu             : yes
      fpu_exception   : yes
      cpuid level     : 1
      wp              : yes
      flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
      bogomips        : 1596.34
      TLB size        : 1024 4K pages
      clflush size    : 64
      cache_alignment : 64
      address sizes   : 40 bits physical, 48 bits virtual
      power management: ts fid vid ttp tm stc
      OS
      Kubuntu 10.04 rc3
      flags and open64
      Open64 Compiler Suite: Version 4.2.3.1
      Built on: 2010-01-28 17:54:35 -0800
      Thread model: posix
      GNU gcc version 4.2.0 (Open64 4.2.3.1 driver)
      export CFLAGS="-O3 -LNO -apo -mso -HP "
      export CXXFLAGS="-O3 -LNO -apo -mso -HP "
      thx for your time
      Rafael Castillo


        • bug in open64 i think
          dgilmore

          For the command line for the compilation that failed, could you add the -keep option, which will keep the intermediate files generated during compilation, and attach the generated .ii file to a post.  Also in the post could you include the command line that you used.

          Thanks,

          Doug