Modify

Opened 7 years ago

Closed 7 years ago

#8657 closed enhancement (wontfix)

set CONFIG_CC_OPTIMIZE_FOR_SIZE=y by default

Reported by: candrews@… Owned by: developers
Priority: normal Milestone:
Component: kernel Version:
Keywords: Cc:

Description

I noticed for some archs (such as atheros [20335] and ppc44x [16900]), CONFIG_CC_OPTIMIZE_FOR_SIZE=y. But by default, CONFIG_CC_OPTIMIZE_FOR_SIZE is not set.

Perhaps it should be enabled by default?

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by jow

Not sure if it is the case here but on some/arch toolchain combination the size optimize actually makes the image bigger as there's less redundant code to compress.

comment:2 Changed 7 years ago by nbd

  • Resolution set to wontfix
  • Status changed from new to closed

That option is intentionally disabled for performance reasons. The cflags have been altered to get the size as close as possible to what you get with CONFIG_CC_OPTIMIZE_FOR_SIZE enabled.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.