Bug 233979 - science/hdf5: fix build with GCC-based architectures
Summary: science/hdf5: fix build with GCC-based architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-13 12:12 UTC by Piotr Kubaj
Modified: 2018-12-23 16:55 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
patch (4.42 KB, patch)
2018-12-13 12:12 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2018-12-13 12:12:07 UTC
Created attachment 200078 [details]
patch

After upgrade to GCC 8, there's a new error.

HDF_NO_UBSAN needs to be specified before function name.

Additionally, remove unnecessary USE_CSTD.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-12-23 16:55:16 UTC
A commit references this bug:

Author: linimon
Date: Sun Dec 23 16:54:24 UTC 2018
New revision: 488222
URL: https://svnweb.freebsd.org/changeset/ports/488222

Log:
  After the upgrade to GCC 8, there's a new error: HDF_NO_UBSAN needs
  to be specified before function name.

  Additionally, remove unnecessary USE_CSTD.

  PR:		233979
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/science/hdf5/Makefile
  head/science/hdf5/files/
  head/science/hdf5/files/patch-src_H5detect.c