Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Question about Compilation Flags
@ 2016-11-11  9:19 Anand Sivaram
  2016-11-11 14:03 ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Anand Sivaram @ 2016-11-11  9:19 UTC (permalink / raw)
  To: buildroot

Dear All,

I am using buildroot on a MIPS system.  My uncompressed rootfs created by
buildroot is around 25MB.

In order to save some more space, I enabled -ffunction-sections
-fdata-sections and --gcsections as below.

File: package/Makefile.in
TARGET_CFLAGS += -ffunction-sections -fdata-sections
TARGET_LDFLAGS += -Wl,--gc-sections

Everything went fine, I saved around 1MB.  But lighttpd with mod-fcgi
enabled got SIGSEGV with the above change.

I have a question?  Could I disable these flags *only* for lighttpd, that
means using the above flags in all packages except lighttpd.

Any help would be really appreciated.

Thanks and Best Regards

Anand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161111/21f31330/attachment.html>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-11-12  9:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-11  9:19 [Buildroot] Question about Compilation Flags Anand Sivaram
2016-11-11 14:03 ` Thomas Petazzoni
2016-11-12  7:36   ` Anand Sivaram
2016-11-12  9:21     ` Thomas Petazzoni
2016-11-12  9:54       ` Anand Sivaram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox