public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/22330] Building a cross linux->win32 incorrectly sets HAVE_GAS_SHF_MERGE true
[not found] <bug-22330-7936@http.gcc.gnu.org/bugzilla/>
@ 2005-11-04 6:41 ` membar at gcc dot gnu dot org
2008-01-26 12:04 ` rguenth at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: membar at gcc dot gnu dot org @ 2005-11-04 6:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from membar at gcc dot gnu dot org 2005-11-04 06:41 -------
I was able to "fix" this issue with an explicit --with-as=<full path to
i686-pc-mingw32-as> and --with-ld=<full path to i686-pc-mingw32-ld>. The
crossed native compiler passes the testcase that Rutger sent me.
Note that the correct term for the compiler we're referring to is "x-host-x,
crossed native or crossed-built native" and not a Canadian cross. See
http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gccint/Configure-Terms.html
--
membar at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |membar at gcc dot gnu dot
| |org
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
[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
1 sibling, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-26 12:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from rguenth at gcc dot gnu dot org 2008-01-26 11:56 -------
Closed as fixed as of the last comment.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
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
* [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
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).