Bug 219483 - cad/kicad: fails to build with lang/gcc6 or later on 10.*
Summary: cad/kicad: fails to build with lang/gcc6 or later on 10.*
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Thierry Thomas
URL:
Keywords: needs-patch
Depends on:
Blocks: 219275
  Show dependency treegraph
 
Reported: 2017-05-24 03:36 UTC by Jan Beich
Modified: 2017-07-17 18:20 UTC (History)
2 users (show)

See Also:
jbeich: maintainer-feedback? (thierry)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2017-05-24 03:36:11 UTC
CMakeFiles/cvpcb.dir/__/common/base_units.cpp.o: In function `ReturnStringFromValue(EDA_UNITS_T, int, bool)':
base_units.cpp:(.text+0x9ac): undefined reference to `operator delete(void*, unsigned long)'
base_units.cpp:(.text+0x9f6): undefined reference to `operator delete(void*, unsigned long)'
base_units.cpp:(.text+0xa40): undefined reference to `operator delete(void*, unsigned long)'
base_units.cpp:(.text+0xb6d): undefined reference to `operator delete(void*, unsigned long)'
base_units.cpp:(.text+0xc07): undefined reference to `operator delete(void*, unsigned long)'
CMakeFiles/cvpcb.dir/__/common/base_units.cpp.o:base_units.cpp:(.text+0xd8c): more undefined references to `operator delete(void*, unsigned long)' follow
collect2: error: ld returned 1 exit status

http://package22.nyi.freebsd.org/data/103amd64-default-PR219275/2017-05-20_20h22m32s/logs/errors/kicad-20140622.2.b4027_8,1.log
http://package23.nyi.freebsd.org/data/103i386-default-PR219275/2017-05-20_20h22m29s/logs/errors/kicad-20140622.2.b4027_8,1.log
Comment 1 Thierry Thomas freebsd_committer 2017-07-17 17:59:24 UTC
I've just upgrade KiCad to 4.0.7, and make it compile with clang where available.
Comment 2 Jan Beich freebsd_committer 2017-07-17 18:20:42 UTC
Thanks. The issue here is specific to libc++ thus architectures using gcc/libstdc++ aren't affected. See bug 219484 for details.