Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 May 2021 10:32:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255590] multimedia/aom: ld: error: undefined symbol: environ
Message-ID:  <bug-255590-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 255590
           Summary: multimedia/aom: ld: error: undefined symbol: environ
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: ice@extreme.hu
          Assignee: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)

Ports 10-eol-85704-gf368d239f06a, same issue on 12.2 and 13.0 (with or with=
out
MAKE_JOBS_UNSAFE). Seems to be something new with AOM 3.1.0 as 3.0.0 was fi=
ne.

/usr/bin/c++ -fPIC -O2 -pipe -fstack-protector-strong -isystem ... -o
libaom.so.3.1.0 ...

On 12.2:

ld: error: undefined symbol: environ
>>> referenced by tls.c:435 (/usr/src/lib/libc/gen/tls.c:435)=20
>>>               tls.o:(_init_tls) in archive /usr/lib/libc.a
>>> referenced by exec.c:78 (/usr/src/lib/libc/gen/exec.c:78)
>>>               exec.o:(execl) in archive /usr/lib/libc.a
>>> referenced by exec.c:145 (/usr/src/lib/libc/gen/exec.c:145)
>>>               exec.o:(execlp) in archive /usr/lib/libc.a
>>> referenced by exec.c:145 (/usr/src/lib/libc/gen/exec.c:145)
>>>               exec.o:(execvp) in archive /usr/lib/libc.a
>>> referenced by exec.c:138 (/usr/src/lib/libc/gen/exec.c:138)
>>>               exec.o:(execv) in archive /usr/lib/libc.a
>>> referenced by exec.c:293 (/usr/src/lib/libc/gen/exec.c:293)
>>>               exec.o:(execvP) in archive /usr/lib/libc.a
>>> referenced by getenv.c:250 (/usr/src/lib/libc/stdlib/getenv.c:250)
>>>               getenv.o:(__clean_env_destructor) in archive /usr/lib/lib=
c.a
>>> referenced by getenv.c:251 (/usr/src/lib/libc/stdlib/getenv.c:251)
>>>               getenv.o:(__clean_env_destructor) in archive /usr/lib/lib=
c.a
>>> referenced by getenv.c:440 (/usr/src/lib/libc/stdlib/getenv.c:440)
>>>               getenv.o:(getenv) in archive /usr/lib/libc.a
>>> referenced by getenv.c:546 (/usr/src/lib/libc/stdlib/getenv.c:546)
>>>               getenv.o:(__merge_environ) in archive /usr/lib/libc.a
>>> referenced 12 more times

ld: error: undefined symbol: __progname
>>> referenced by getprogname.c:16 (/usr/src/lib/libc/gen/getprogname.c:16)
>>>               getprogname.o:(_getprogname) in archive /usr/lib/libc.a
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)

On 13.0:

: && /usr/bin/c++ -fPIC -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -isystem /usr/local/includeld: err=
or:
undefined symbol: environ
>>> referenced by auxv.c:54 (/usr/src/lib/libc/gen/auxv.c:54)
>>>               auxv.o:(init_aux_vector_once) in archive /usr/lib/libc.a
>>> referenced by tls.c:434 (/usr/src/lib/libc/gen/tls.c:434)
>>>               tls.o:(_init_tls) in archive /usr/lib/libc.a
>>> referenced by getenv.c:250 (/usr/src/lib/libc/stdlib/getenv.c:250)
>>>               getenv.o:(__clean_env_destructor) in archive /usr/lib/lib=
c.a
>>> referenced 19 more times

ld: error: undefined symbol: __progname
>>> referenced by getprogname.c:16 (/usr/src/lib/libc/gen/getprogname.c:16)
>>>               getprogname.o:(_getprogname) in archive /usr/lib/libc.a
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)

--=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-255590-7788>