Bug 297295 - devel/gcc-arm-embedded: ld.lld: error: undefined symbol: libiconv_open
Summary: devel/gcc-arm-embedded: ld.lld: error: undefined symbol: libiconv_open
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Lev A. Serebryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-08-05 09:31 UTC by O. Hartmann
Modified: 2026-08-16 06:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2026-08-05 09:31:36 UTC
On recent CURRENT ( FreeBSD 16.0-CURRENT #0 main-n287956-30ccf2f48c11: Wed Aug  5 09:54:38 CEST 2026 amd64) port devel/gcc-arm-embedded fails to compile:


[...]
  CXX    xml-builtin.o
  CXX    init.o
  CXXLD  gdb
ld.lld: error: undefined symbol: libiconv_open
>>> referenced by charset.c
>>>               charset.o:(convert_between_encodings(char const*, char const*, unsigned char const*, unsigned int, int, obstack*, transliterations))
>>> referenced by charset.c
>>>               charset.o:(wchar_iterator::wchar_iterator(unsigned char const*, unsigned long, char const*, unsigned long))
>>> referenced by charset.c
>>>               charset.o:(validate(gdbarch*))
>>> referenced 1 more times

ld.lld: error: undefined symbol: libiconv
>>> referenced by charset.c
>>>               charset.o:(convert_between_encodings(char const*, char const*, unsigned char const*, unsigned int, int, obstack*, transliterations))
[...]
Comment 1 O. Hartmann 2026-08-09 16:18:15 UTC
Just an addon: the port compiles on 15-STABLE and earlier revisions of CURRENT within poudriere.

It doesn't compile on CURRENT with traditional "make -C devel/gcc-arm-embedded". The environment is not as "sterile" as ist is in poudriere (as far as I can imagine, poudriere installs exactly the necessities and is not reflecting a life system).

Since I have X11/LaTeX and other graphical stuff installed, converters/libiconv is installed. delteing that package temporarily doesn't make things work.
Comment 2 O. Hartmann 2026-08-14 12:19:27 UTC
FreeBSD 15.1-STABLE #109 stable/15-n284850-6886e8a9a0aa: Wed Aug 12 07:30:59 CEST 2026 amd64 doesn't work either now.
Comment 3 O. Hartmann 2026-08-16 06:41:08 UTC
The issue reported herin has been sielntly fixed by fixing an issue with lang/gawk (gawk-5.4.1 -> gawk-5.4.1_1).
Comment 4 O. Hartmann 2026-08-16 06:41:27 UTC
sorry, herein.