Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcc.jam: compiler options fix #76

Closed
wants to merge 1 commit into from
Closed

gcc.jam: compiler options fix #76

wants to merge 1 commit into from

Conversation

joerg-krause
Copy link
Contributor

Only PowerPC, SPARC, and x86 do support the -m32 and -m64 compiler options [1].

Rather then excluding all architectures not supporting these options as it is
done in commit c063434, include all architectures that do support them.

This will fix building Boost for the SuperH architecture with Buildroot [2].

[1] https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html
[2] http://autobuild.buildroot.net/results/ccd/ccd5c83963032ba49b1627b1dff39e34a9486943/build-end.log

Only PowerPC, SPARC, and x86 do support the -m32 and -m64 compiler options [1].

Rather then excluding all architectures not supporting these options as it is
done in commit c063434 [2], include all
architectures that do support them.

This will fix building Boost for the SuperH architecture with Buildroot [3].

[1] https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html
[2] c063434
[3] http://autobuild.buildroot.net/results/ccd/ccd5c83963032ba49b1627b1dff39e34a9486943/build-end.log
@joerg-krause joerg-krause mentioned this pull request May 3, 2015
ClaymorePT added a commit to ClaymorePT/packages that referenced this pull request May 3, 2015
  This update follows after the previous update[1]
  Due to the Boost Dev patch submited in [2], this commit also updates
    the boost patch in order to, instead of excluding all architectures
    that do not support -m32 and -m64 options, it now includes only the
    architectures that do support it.

 [1]: openwrt#1186
 [2]: boostorg/build#76

 Signed-off-by: Carlos M. Ferreira carlosmf.pt@gmail.com
@vprus
Copy link
Collaborator

vprus commented May 4, 2015

Thanks, I've cherry-picked this change. I've edited to summary line of the commit message to a bit more specific.

@vprus vprus closed this May 4, 2015
woodsts pushed a commit to woodsts/buildroot that referenced this pull request May 21, 2015
Add patch to fix build issues for mips and sh targets:
error: unrecognized command line option '-m32'

Fixes:
http://autobuild.buildroot.org/results/66c/66c3a868816dfe4bd4d0ffafec6988fd87a2c058/
http://autobuild.buildroot.net/results/ccd/ccd5c83963032ba49b1627b1dff39e34a9486943/

Patch send upstream:
boostorg/build#76

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Tested-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
@github-actions github-actions bot added the transition Transition to bfgroup/b2 label Oct 2, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
transition Transition to bfgroup/b2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants