Skip to content

Add --with-multilib-list GCC option support. - #12

Open
luismgsilva wants to merge 1 commit into
arc-2026.09from
luis/reduced-multilib
Open

Add --with-multilib-list GCC option support.#12
luismgsilva wants to merge 1 commit into
arc-2026.09from
luis/reduced-multilib

Conversation

@luismgsilva

Copy link
Copy Markdown
Member

Add support for the --with-multilib-list configure option to select specific multilib configurations when building the toolchain.

The option if forwarded to both GCC stages for both newlib and picolibc targets.

Accepted values:
reduced: build a reduced multilib set.
release: build the full multilib set.
(You can check gcc/gcc/config.gcc for other options.)

Using a reduced set speeds up development and testing builds by avoiding unnecesary multilib variants.

Example:
./configure --with-multilib-list=reduced
./configure --with-multilib-list=release # (currently default)

@luismgsilva
luismgsilva requested a review from kolerov March 12, 2026 15:54
@luismgsilva luismgsilva self-assigned this Mar 12, 2026
Add support for the --with-multilib-list configure option to select specific
multilib configurations when building the toolchain.

The option is forwarded to both GCC stages for both newlib and picolibc
targets.

Accepted values:
  reduced: build a reduced multilib set.
  release: build the full multilib set.
  (You can check gcc/gcc/config.gcc for other options.)

Using a reduced set speeds up development and testing builds by avoiding
unnecesary multilib variants.

Example:
  ./configure --with-multilib-list=reduced
  ./configure --with-multilib-list=release # (currently default)

Signed-off-by: Luis Silva <luiss@synopsys.com>
@luismgsilva
luismgsilva force-pushed the luis/reduced-multilib branch from 4ac7d32 to 7b92b84 Compare March 12, 2026 16:34
@luismgsilva
luismgsilva marked this pull request as ready for review March 13, 2026 09:17
@kolerov

kolerov commented Mar 13, 2026

Copy link
Copy Markdown
Collaborator

GCC in arc-2026.03 does not support such usage of this option. Maybe https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/commits/luis/reduce-multilib must be merged first?

@luismgsilva

Copy link
Copy Markdown
Member Author

GCC in arc-2026.03 does not support such usage of this option. Maybe https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/commits/luis/reduce-multilib must be merged first?

A PR for GCC has been opened for that (See https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/pull/203/commits). The GCC patches will be merged first, yes.

@kolerov
kolerov changed the base branch from arc-2026.03 to arc-2026.09 April 8, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants