#50911: netcdf +gcc5 Segmentation fault: 11 on El Capitan ---------------------------+-------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: gcc5 segfault | Port: netcdf ---------------------------+-------------------------------- The default build works, but ncarg requires a +gcc5 build which does not work: {{{ $ port installed netcdf The following ports are currently installed: netcdf @4.3.3.1_4+dap+gcc5+netcdf4 netcdf @4.3.3.1_4+dap+netcdf4 (active) $ /opt/local/bin/ncdump -h /opt/local/lib/ncarg/data/cdf/ocean.nc netcdf ocean { dimensions: z_t = 25 ; lat_t = 66 ; variables: float T(z_t, lat_t) ; T:lon_t = 199.8f ; T:time = 69715. ; T:long_name = "Potential Temperature" ; T:units = "Celsius" ; T:time_rep = "averaged" ; T:missing_value = 9.999999e+29f ; T:_FillValue = 9.999999e+29f ; float z_t(z_t) ; z_t:long_name = "Depth (T grid)" ; z_t:units = "centimeters" ; z_t:minimum = 600.f ; z_t:maximum = 477529.f ; z_t:positive = "down" ; float lat_t(lat_t) ; lat_t:long_name = "Latitude (T grid)" ; lat_t:units = "degrees_north" ; lat_t:minimum = -78.92963f ; lat_t:maximum = 90.f ; } }}} After activating the {{{+gcc5}}} version, ncdump fails: {{{ $ /opt/local/bin/ncdump -h /opt/local/lib/ncarg/data/cdf/ocean.nc netcdf ocean { dimensions: z_t = 25 ; lat_t = 66 ; variables: Segmentation fault: 11 }}} Other programs (e.g., ncl) also give the {{{Segmentation fault: 11}}}. Upstream has a report of problems on 10.11 at [https://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg13497.html] -- Ticket URL: <https://trac.macports.org/ticket/50911> MacPorts <https://www.macports.org/> Ports system for OS X