Re: Help gcc compilation on Solaris 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ashwani Bhat wrote:
Can you please help me. I am trying to build gcc-v4.1.0 on solaris 8. I
am using gcc-v3.2.3 to built this. I am having issues in the "make
install" for "libstdc++". Here is the erorr log.

***************************************************************

/usr/ccs/bin/as: "/var/tmp//ccz2Z7C7.s", line 10: error: unknown opcode
".symver"
/usr/ccs/bin/as: "/var/tmp//ccz2Z7C7.s", line 10: error: invalid
character (0x40)
/usr/ccs/bin/as: "/var/tmp//ccz2Z7C7.s", line 10: error: statement
syntax
As you can see all these errors came from the '/usr/ccs/bin/as', from the "original" Sun Solaris8 assembler! Maybe you should use the GNU assembler from the GNU binutils? Have you read the "target specific install notes" from your nice "GCC Install" manual? Surely your gcc-3.2.3 came with it just as your new gcc-4.1.0 provides it and building it either happens automatically or is highly recommended. Or you could consult the online docs at 'http://gcc.gnu.org'. Anyway when not having any real Sparc/Solaris8 system, I have built only crosscompilers for it and the gcc-4.1.0 succeeded nicely with the GNU 'as', 'ld' etc., these being the only choice with cross GCCs:

Reading specs from /data2/usr/local/bin/../lib/gcc-lib/sparc-solaris2.8/4.1.0/specs
Target: sparc-solaris2.8
Configured with: ../configure --build=i686-linux-gnu --host=i686-linux-gnu --target=sparc-solaris2.8 --with-gnu-as --with-gnu-ld --enable-shared --enable-threads --enable-languages=c,c++
Thread model: posix
gcc version 4.1.0

BTW, the current 'bug-fix' gcc-4.1 release is the '4.1.1', not the '4.1.0', we both should use it! It is vain for you to use the unfixed 4.1.0 and I could have some motive to update...

Maybe the install notes tell that the Sun binutils should work too, or that some patch fix should be installed into them. In any case reading them first and after that asking here if there are still problems despite of doing that, is recommended. People on the maillists are not manual substitutes! I only have experience about the Solaris8/x86 and for it there were a big amount of 'patches' to install before some usual things like Mozilla, Firefox, Thunderbird etc. could work...

Ok, I made a quick look at the:

     http://gcc.gnu.org/install/specific.html#sparc-sun-solaris2

and saw there quite a lot problems mentioned with the Sun 'as'....


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux