public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/52503] New: sh-wrs-vxworks: too many target masks @ 2012-03-06 0:34 amylaar at gcc dot gnu.org 2012-03-06 20:12 ` [Bug target/52503] " olegendo at gcc dot gnu.org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: amylaar at gcc dot gnu.org @ 2012-03-06 0:34 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52503 Bug #: 52503 Summary: sh-wrs-vxworks: too many target masks Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: target AssignedTo: unassigned@gcc.gnu.org ReportedBy: amylaar@gcc.gnu.org Blocks: 47093 Target: sh-wrs-vxworks gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/. -I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include -I/opt/cfarm/mpc/include -I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber ../../../gcc/gcc/lto-wrapper.c -o lto-wrapper.o In file included from ../../../gcc/gcc/lto-wrapper.c:47:0: ./options.h:3697:2: error: #error too many target masks ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/52503] sh-wrs-vxworks: too many target masks 2012-03-06 0:34 [Bug target/52503] New: sh-wrs-vxworks: too many target masks amylaar at gcc dot gnu.org @ 2012-03-06 20:12 ` olegendo at gcc dot gnu.org 2012-03-06 23:19 ` kkojima at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: olegendo at gcc dot gnu.org @ 2012-03-06 20:12 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52503 Oleg Endo <olegendo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkojima at gcc dot gnu.org, | |olegendo at gcc dot gnu.org --- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-03-06 20:11:43 UTC --- (In reply to comment #0) > gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing > -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros > -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common > -DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/. > -I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include > -I/opt/cfarm/mpc/include -I../../../gcc/gcc/../libdecnumber > -I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber > ../../../gcc/gcc/lto-wrapper.c -o lto-wrapper.o > In file included from ../../../gcc/gcc/lto-wrapper.c:47:0: > ./options.h:3697:2: error: #error too many target masks This is probably due to the recently added -msoft-atomic option. When I was adding another option (-menable-tas) afterwards I also hit the limit there and went for a Var instead of a Mask to avoid the problem. Could you please try the following? Index: gcc/config/sh/sh.opt =================================================================== --- gcc/config/sh/sh.opt (revision 184966) +++ gcc/config/sh/sh.opt (working copy) @@ -320,7 +320,7 @@ Follow Renesas (formerly Hitachi) / SuperH calling conventions msoft-atomic -Target Report Mask(SOFT_ATOMIC) +Target Report Var(TARGET_SOFT_ATOMIC) Use software atomic sequences supported by kernel menable-tas I also would like to add Kaz to the CC list. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/52503] sh-wrs-vxworks: too many target masks 2012-03-06 0:34 [Bug target/52503] New: sh-wrs-vxworks: too many target masks amylaar at gcc dot gnu.org 2012-03-06 20:12 ` [Bug target/52503] " olegendo at gcc dot gnu.org @ 2012-03-06 23:19 ` kkojima at gcc dot gnu.org 2012-03-07 22:06 ` kkojima at gcc dot gnu.org 2012-04-11 23:06 ` olegendo at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: kkojima at gcc dot gnu.org @ 2012-03-06 23:19 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52503 --- Comment #2 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2012-03-06 23:18:16 UTC --- Created attachment 26845 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26845 A patch config/sh/linux.h requires a few changes too. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/52503] sh-wrs-vxworks: too many target masks 2012-03-06 0:34 [Bug target/52503] New: sh-wrs-vxworks: too many target masks amylaar at gcc dot gnu.org 2012-03-06 20:12 ` [Bug target/52503] " olegendo at gcc dot gnu.org 2012-03-06 23:19 ` kkojima at gcc dot gnu.org @ 2012-03-07 22:06 ` kkojima at gcc dot gnu.org 2012-04-11 23:06 ` olegendo at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: kkojima at gcc dot gnu.org @ 2012-03-07 22:06 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52503 --- Comment #3 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2012-03-07 22:06:28 UTC --- Author: kkojima Date: Wed Mar 7 22:06:25 2012 New Revision: 185081 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185081 Log: PR target/52503 * config/sh/sh.opt (msoft-atomic): Use Var instead of Mask. * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_SOFT_ATOMIC. (SUBTARGET_OVERRIDE_OPTIONS): Define. Modified: trunk/gcc/ChangeLog trunk/gcc/config/sh/linux.h trunk/gcc/config/sh/sh.opt ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/52503] sh-wrs-vxworks: too many target masks 2012-03-06 0:34 [Bug target/52503] New: sh-wrs-vxworks: too many target masks amylaar at gcc dot gnu.org ` (2 preceding siblings ...) 2012-03-07 22:06 ` kkojima at gcc dot gnu.org @ 2012-04-11 23:06 ` olegendo at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: olegendo at gcc dot gnu.org @ 2012-04-11 23:06 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52503 Oleg Endo <olegendo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #4 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-04-11 23:06:00 UTC --- I think this is OK now. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-04-11 23:06 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-03-06 0:34 [Bug target/52503] New: sh-wrs-vxworks: too many target masks amylaar at gcc dot gnu.org 2012-03-06 20:12 ` [Bug target/52503] " olegendo at gcc dot gnu.org 2012-03-06 23:19 ` kkojima at gcc dot gnu.org 2012-03-07 22:06 ` kkojima at gcc dot gnu.org 2012-04-11 23:06 ` olegendo at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).