Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2020 05:12:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248956] sysutils/ipmitool: current llvm 11.0.0 -fno-common fallout
Message-ID:  <bug-248956-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 248956
           Summary: sysutils/ipmitool: current llvm 11.0.0 -fno-common
                    fallout
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi@FreeBSD.org
          Reporter: leres@freebsd.org
             Flags: maintainer-feedback?(zi@FreeBSD.org)
          Assignee: zi@FreeBSD.org

A system running current (r364847) fails to build ipmitool with linker erro=
rs:

    /bin/sh ../libtool --silent  --tag=3DCC   --mode=3Dlink cc  -O2 -pipe=20
-I/usr/include -fstack-protector-strong -fno-strict-aliasing  -Wall -Wextra
-std=3Dgnu99 -pedantic -Wformat -Wformat-nonliteral -D__BSD_VISIBLE  -L/usr=
/lib
-L/usr/local/lib  -fstack-protector-strong  -o ipmievd ipmievd.o
../lib/libipmitool.la plugins/libintf.la -lreadline -ltinfo -lreadline -lti=
nfo=20
-lcrypto
    ld: error: duplicate symbol: gVersionInfo
    >>> defined at ipmitool.c
    >>>            ipmitool.o:(gVersionInfo)
    >>> defined at ipmi_hpmfwupg.c
    >>>            ipmi_hpmfwupg.o:(.bss+0x0) in archive
../lib/.libs/libipmitool.a

This was fixed upstream early this year, here is a patch derived from on:

=20=20=20
https://github.com/ipmitool/ipmitool/commit/c3939dac2c060651361fc71516806f9=
ab8c38901.patch

"hpmfwupg: move variable definition to .c file"

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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