Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2019 11:53:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 238330] [exp-run] Update GCC_DEFAULT from 8 to 9
Message-ID:  <bug-238330-7788-91poy23BcM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238330-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238330-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238330

--- Comment #11 from commit-hook@freebsd.org ---
A commit references this bug:

Author: tobik
Date: Mon Jun 17 11:52:50 UTC 2019
New revision: 504416
URL: https://svnweb.freebsd.org/changeset/ports/504416

Log:
  devel/kronosnet: Unbreak build with GCC 9

  In file included from common.c:22:
  In function 'open_lib',
      inlined from 'load_module' at common.c:130:11:
  logging.h:21:17: error: '%s' directive argument is null
[-Werror=3Dformat-overflow=3D]
     21 | #define LOG_MSG log_msg
        |                 ^
  logging.h:30:2: note: in expansion of macro 'LOG_MSG'
     30 |  LOG_MSG(knet_h, subsys, KNET_LOG_WARN, fmt, ##args)
        |  ^~~~~~~
  common.c:85:3: note: in expansion of macro 'log_warn'
     85 |   log_warn(knet_h, KNET_SUB_COMMON, "unable to dlinfo %s: %s",
        |   ^~~~~~~~
  common.c: In function 'load_module':
  common.c:85:59: note: format string is defined here
     85 |   log_warn(knet_h, KNET_SUB_COMMON, "unable to dlinfo %s: %s",
        |

  PR:           238330
  Obtained from:        upstream

Changes:
  head/devel/kronosnet/Makefile
  head/devel/kronosnet/files/patch-libknet_common.c

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238330-7788-91poy23BcM>