public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/22330] New: Building a cross linux->win32 incorrectly sets HAVE_GAS_SHF_MERGE true
@ 2005-07-06 21:08 ovidr at users dot sourceforge dot net
2005-07-07 21:24 ` [Bug bootstrap/22330] " ovidr at users dot sourceforge dot net
2005-08-17 3:30 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 4+ messages in thread
From: ovidr at users dot sourceforge dot net @ 2005-07-06 21:08 UTC (permalink / raw)
To: gcc-bugs
gcc/gcc/java/class.c
if (HAVE_GAS_SHF_MERGE) should be false for windows target. However,
it's definition is done by configure for _host_, and it ends up as true
in auto-host.h if you cross compile
--
Summary: Building a cross linux->win32 incorrectly sets
HAVE_GAS_SHF_MERGE true
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ovidr at users dot sourceforge dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22330
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/22330] Building a cross linux->win32 incorrectly sets HAVE_GAS_SHF_MERGE true
2005-07-06 21:08 [Bug other/22330] New: " ovidr at users dot sourceforge dot net
@ 2005-07-07 21:24 ` ovidr at users dot sourceforge dot net
2005-08-17 3:30 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: ovidr at users dot sourceforge dot net @ 2005-07-07 21:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ovidr at users dot sourceforge dot net 2005-07-07 21:24 -------
I don't know how to do that with the current configure.
Build != Host
--build=i686-pc-linux-gnu --host=i686-pc-mingw32 --target=i686-pc-mingw32
>From configure.ac:
# If build != host, and we aren't building gas in-tree, we identify a
# build->target assembler and hope that it will have the same features
# as the host->target assembler we'll be using.
(which is wrong in this case)
And configure.ac is using 'test -x' on environment variables $AS and
$AS_FOR_TARGET, which always have their paths stripped, so I can't set it
to "/home/gcc/build/crossgcc/bin/i686-pc-mingw32-as" or "i686-pc-mingw32-as"
and pass the "test -x" test, even though that is the $AS that will ultimately
be used to assemble.
Manually changing the "elif test -x "$AS_FOR_TARGET"; then" line in
gcc/configure to "-n" makes it use the env variable, and sets
HAVE_GAS_SHF_MERGE 0, which is what I want, but I doubt this is the right way
to do it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22330
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/22330] Building a cross linux->win32 incorrectly sets HAVE_GAS_SHF_MERGE true
2005-07-06 21:08 [Bug other/22330] New: " ovidr at users dot sourceforge dot net
2005-07-07 21:24 ` [Bug bootstrap/22330] " ovidr at users dot sourceforge dot net
@ 2005-08-17 3:30 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-17 3:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-17 03:29 -------
(In reply to comment #7)
> I don't know how to do that with the current configure.
>
> Build != Host
> --build=i686-pc-linux-gnu --host=i686-pc-mingw32 --target=i686-pc-mingw32
>
> From configure.ac:
> # If build != host, and we aren't building gas in-tree, we identify a
> # build->target assembler and hope that it will have the same features
> # as the host->target assembler we'll be using.
>
> (which is wrong in this case)
Actually it better or there is something wrong as basicially you cannot really mix match the as versions
of a Candian cross.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22330
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-26 11:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-22330-7936@http.gcc.gnu.org/bugzilla/>
2005-11-04 6:41 ` [Bug bootstrap/22330] Building a cross linux->win32 incorrectly sets HAVE_GAS_SHF_MERGE true membar at gcc dot gnu dot org
2008-01-26 12:04 ` rguenth at gcc dot gnu dot org
2005-07-06 21:08 [Bug other/22330] New: " ovidr at users dot sourceforge dot net
2005-07-07 21:24 ` [Bug bootstrap/22330] " ovidr at users dot sourceforge dot net
2005-08-17 3:30 ` pinskia at gcc dot gnu dot 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).