[Bug 253303] sysutils/memtest86+: remove dependency on gcc48

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 17 01:38:49 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253303

--- Comment #8 from commit-hook at FreeBSD.org ---
A commit references this bug:

Author: kevans
Date: Wed Feb 17 01:37:58 UTC 2021
New revision: 565473
URL: https://svnweb.freebsd.org/changeset/ports/565473

Log:
  MFH: r565472

  sysutils/memtest86+: remove dependency on gcc48

  This is one of three ports still explicitly dependent on lang/gcc48. The
  problems that were preventing the upgrade were as follows:

  - The __OUT*/__IN* macros in io.h were declaring the produced functions as
    extern, yielding multiple "definitions." They're inline asm, so just give
    them static linkage.

  - reboot was declared inline with non-static linkage, thus leaving it in a
    weird state where it wasn't visible within the same CU or another CU.
    Drop the inline for now; if it really needs to be inlined, it can be
    moved into a header and declared `static inline`.

  I made these changes, then discovered there's a 5.31b that's still in
  testing. I checked the archive for that and was delighted to discover these
  changes had already actually been made there, too, so let's consider this a
  backport.

  PR:           253303
  Approved by:  avg (maintainer)

Changes:
_U  branches/2021Q1/
  branches/2021Q1/sysutils/memtest86+/Makefile
  branches/2021Q1/sysutils/memtest86+/files/patch-io.h
  branches/2021Q1/sysutils/memtest86+/files/patch-lib.c

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


More information about the freebsd-ports-bugs mailing list