http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536
Eric Botcazou changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536
--- Comment #10 from Yuri 2011-01-30 23:27:13 UTC ---
(In reply to comment #9)
> well if you don't want a working compiler feel free to ignore the docs and
> refuse to try the options that might help
I didn't refuse to try anything, I already got
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536
--- Comment #9 from Jonathan Wakely 2011-01-30
23:13:28 UTC ---
well if you don't want a working compiler feel free to ignore the docs and
refuse to try the options that might help
patches to configure are welcome.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536
--- Comment #8 from Yuri 2011-01-30 22:06:50 UTC ---
(In reply to comment #6)
> Which is why it's recommended in the docs:
> http://gcc.gnu.org/install/specific.html#ix86-x-solaris210
>
> Please try using the suggested configuration
There is not
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536
--- Comment #7 from Yuri 2011-01-30 22:03:50 UTC ---
Actually g++ produces the correct assembler file, but still calls original Sun
assembler /usr/ccs/bin/as instead of the GNU one from the path, regardless of
the option --with-gnu-as passed to gc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536
--- Comment #6 from Jonathan Wakely 2011-01-30
22:02:18 UTC ---
(In reply to comment #4)
> Passing --with-gnu-as option to configure fixes the problem.
Which is why it's recommended in the docs:
http://gcc.gnu.org/install/specific.html#ix86-x-so
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536
--- Comment #5 from Yuri 2011-01-30 21:53:47 UTC ---
--with-gnu-as lets gcc build to succeed.
But resulting g++ has the problem on all c++ modules:
g++ -c m.cpp
Assembler: m.cpp
"/var/tmp//ccEysWY5.s", line 7 : Illegal mnemonic
Nea
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536
--- Comment #4 from Yuri 2011-01-30 11:17:32 UTC ---
Passing --with-gnu-as option to configure fixes the problem.
But why can't configure detect this by itself? GNU as has --version which
clearly says that its GNU assembler. And original Solaris a
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536
--- Comment #3 from Yuri 2011-01-29 22:40:09 UTC ---
Assembler complains on -xarch option.
/opt/local/bin/as: unrecognized option `-xarch=generic64'
But '/opt/local/bin/as --help' doeasn't list -xarch as the valid option. It has
-march option.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536
--- Comment #2 from Yuri 2011-01-29 22:15:45 UTC ---
Created attachment 23165
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23165
Requested config.log
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536
--- Comment #1 from Andrew Pinski 2011-01-29
21:51:08 UTC ---
>Its strange that there is an option -m64 that appears in the command line.
Not really because i386-solaris is a multi-arch target which includes amd64
too. Can you attach config.log
11 matches
Mail list logo