#19605: cyassl build error: musl , x86-64
-----------------------+------------------------
Reporter: zloop | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Resolution: | Keywords:
-----------------------+------------------------
Comment (by anonymous):
Replying to [comment:4 hauke]:
> If there is a fix for this problem please post a patch on the mailing
list.
With the introduction of DWARF 4 .debug_info section on ubuntu can now
grow extremely large.
Placing program specific debug information into it's own separate comdat
section will allow the linker to remove duplicates and will greatly reduce
the size of the debug and usually put an end to the Memory Exhausted
errors seen in ld.
To read more on this topic see: https://gcc.gnu.org/onlinedocs/gcc/Debu …
tions.html
Suggested configure settings are:
{{{
./configure <existing_options> C_EXTRA_FLAGS="-fdebug-types-section"
}}}
{{{
./configure <existing_options> C_EXTRA_FLAGS="-g1 -feliminate-unused-
debug-symbols -fdebug-types-section"
}}}
{{{
./configure <existing_options> C_EXTRA_FLAGS="-ggdb1 -feliminate-unused-
debug-symbols -fdebug-types-section"
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/19605#comment:5>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets