[Bug bootstrap/54415] GCC 4.4.4 build fails on solaris sparc with error as undefined reference to `_Qp_xtoq'

2012-09-03 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54415

birender.singh at hotmail dot com changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|WORKSFORME  |

--- Comment #2 from birender.singh at hotmail dot com 2012-09-03 06:30:59 UTC 
---
The gcc used as below:
bash-3.2# gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with:
/sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)


I set  env CC=gcc -m64 And again executed the configure command as below, but
it fails.

../gcc-4.4.4/configure  --prefix=/usr/local/gcc-4.4.4_64
--with-gmp=/els/install/gcc-4.4.4_64/gmp32
--with-mpfr=/els/install/gcc-4.4.4_64/mpfr32 --build=sparcv9-sun-solaris2.10
--enable-languages=c,c++ --with-gnu-as --with-gnu-ld


Fails with below error messages:

.
.
.
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_bswapdi2_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixunssfsi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixunsdfsi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixunsxfsi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixsfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixdfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixxfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixtfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixunssfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixunsdfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixunsxfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixunstfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatdisf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatdidf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatdixf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatditf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatundisf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatundidf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatundixf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatunditf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file

[Bug bootstrap/54415] GCC 4.4.4 build fails on solaris sparc with error as undefined reference to `_Qp_xtoq'

2012-09-03 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54415

--- Comment #3 from birender.singh at hotmail dot com 2012-09-03 06:34:53 UTC 
---
The gcc used as below:
bash-3.2# gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with:
/sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)


I set  env CC=gcc -m64 And again executed the configure command as below, but
it fails.

../gcc-4.4.4/configure  --prefix=/usr/local/gcc-4.4.4_64
--with-gmp=/els/install/gcc-4.4.4_64/gmp32
--with-mpfr=/els/install/gcc-4.4.4_64/mpfr32 --build=sparcv9-sun-solaris2.10
--enable-languages=c,c++ --with-gnu-as --with-gnu-ld


Fails with below error messages:

.
.
.
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_bswapdi2_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixunssfsi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixunsdfsi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixunsxfsi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixsfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixdfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixxfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixtfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixunssfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixunsdfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixunsxfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_fixunstfdi_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatdisf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatdidf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatdixf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatditf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatundisf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatundidf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatundixf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_floatunditf_s.o' is incompatible
with sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_divdi3_s.o' is incompatible with
sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
warning: sparc:v9 architecture of input file `_moddi3_s.o' is incompatible with
sparc output
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc

[Bug bootstrap/54415] New: GCC 4.4.4 build fails on solaris sparc with error as undefined reference to `_Qp_xtoq'

2012-08-30 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54415

 Bug #: 54415
   Summary: GCC 4.4.4 build fails on solaris sparc with error as
undefined reference to `_Qp_xtoq'
Classification: Unclassified
   Product: gcc
   Version: 4.4.4
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: birender.si...@hotmail.com


Created attachment 28104
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28104
Attachment contains error message while executing 'make' command after
configuring gcc.

Machine  Details:
---
#uname -a
SunOS slimsol10t1 5.10 Generic_147440-01 sun4u sparc SUNW,Sun-Fire-V240

# cat /etc/release
   Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
  Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Assembled 23 August 2011


GCC Deatils:

bash-3.2# gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: ../gcc-4.4.4/configure --prefix=/usr/local/gcc-4.4.4
--program-suffix=-4.4.4 --enable-threads=posix --enable-shared
--enable-languages=c,c++ --with-gnu-as --with-as=/usr/local/bin/as
--with-gnu-ld --with-ld=/usr/local/bin/ld
Thread model: posix
gcc version 4.4.4 (GCC)
bash-3.2#


Binutils details:
--
# ld -V
GNU ld (GNU Binutils) 2.20
  Supported emulations:
   elf32_sparc
   elf64_sparc


Environment Settings:

# echo $PATH
/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/bin:/els/install/gcc-4.4.4/bin:/usr/sfw/bin:/usr/ccs/bin

# echo $LD_LIBRARY_PATH
/usr/local/lib:/els/install/gcc-4.4.4/lib:/usr/sfw/lib:/els/install/gcc-4.4.4_64/gmp32/lib:/els/install/gcc-4.4.4_64/mpfr32/lib




Building 64bit gcc-4.4.4 on solaris 10 sparc machine. Configured successfully
but fails while executing 'make' command.

Steps to produce:

# pwd
/els/install/gcc-4.4.4_64/build_64

Configures command:
# ../gcc-4.4.4/configure  --prefix=/usr/local/gcc-4.4.4_64
--with-gmp=/els/install/gcc-4.4.4_64/gmp32
--with-mpfr=/els/install/gcc-4.4.4_64/mpfr32 --build=sparcv9-sun-solaris2.10
--enable-languages=c,c++ --with-gnu-as --with-gnu-ld

#make

Observed:

.
.
.
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1929:
undefined reference to `_Qp_sub'
_fixtfdi_s.o: In function `__fixtfti':
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1212:
undefined reference to `_Qp_flt'
_fixunstfdi_s.o: In function `__fixunstfti':
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1186:
undefined reference to `_Qp_flt'
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1193:
undefined reference to `_Qp_mul'
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1193:
undefined reference to `_Qp_qtoux'
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1196:
undefined reference to `_Qp_sub'
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1200:
undefined reference to `_Qp_flt'
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1201:
undefined reference to `_Qp_qtoux'
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1203:
undefined reference to `_Qp_qtoux'
_floatditf_s.o: In function `__floattitf':
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1392:
undefined reference to `_Qp_xtoq'
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1393:
undefined reference to `_Qp_mul'
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1393:
undefined reference to `_Qp_uxtoq'
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1393:
undefined reference to `_Qp_add'
_floatunditf_s.o: In function `__floatuntitf':
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1406:
undefined reference to `_Qp_uxtoq'
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1407:
undefined reference to `_Qp_mul'
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1407:
undefined reference to `_Qp_uxtoq'
/els/install/gcc-4.4.4_64/build_64/sparcv9-sun-solaris2.10/libgcc/../../../gcc-4.4.4/libgcc/../gcc/libgcc2.c:1407:
undefined reference to 

[Bug libstdc++/53297] Linker error on solaris 10 using gcc-4.4.4 64bit.

2012-05-11 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53297

birender.singh at hotmail dot com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|DUPLICATE   |

--- Comment #4 from birender.singh at hotmail dot com 2012-05-11 10:49:36 UTC 
---

Below error is not resolved, kindly provide the solution for the below error
message, Do i need to build gcc-4.4.4 64 bit once again, --with-gnu-as and
--without-gnu-ld while configure.

.
.
../prodStartLicTest/prodStartLicTest.h: In member function 'void
prodStartLicTest::prodStartEnumTest(char*, const char*, int, SLIC_STATUS, int,
int)':
../prodStartLicTest/prodStartLicTest.h:1692: warning: deprecated conversion
from string constant to 'char*'
../../../nobuilds/bin/fipsld -m64   -o sparc_SunOS_64/release/SuiteMain
sparc_SunOS_64/release/SuiteMain.o -L/els/install/staf64/lib -lSTAF
../../../nobuilds/key/sparc_SunOS_64/release/slic_devkey.o
-L../../../nobuilds/lib/sparc_SunOS_64/release -lslic -lPoco -lopenssl -lm
-lstdc++ ../SlicTestLib/sparc_SunOS_64/release/libSlicTest.a -lresolv -lrt -lc
-ldl -lsocket  -lnsl
Undefined   first referenced
 symbol in file
std::basic_streambufchar, std::char_traitschar ::seekoff(long long,
std::_Ios_Seekdir, std::_Ios_Openmode)
../../../nobuilds/lib/sparc_SunOS_64/release/libPoco.a(Base64Decoder.o)
ld: fatal: Symbol referencing errors. No output written to 
sparc_SunOS_64/release/SuiteMain
collect2: ld returned 1 exit status
make[3]: *** [sparc_SunOS_64/release/SuiteMain] Error 1
make[3]: Leaving directory `/els/licensing/licensing_sdk/trunk/qa/SuiteMain'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/els/licensing/licensing_sdk/trunk/qa/SuiteMain'
make[1]: *** [all_subdirs] Error 1
make[1]: Leaving directory `/els/licensing/licensing_sdk/trunk/qa'
make: *** [all] Error 2


Is this error is due to -lstdc++ library. I have provided this in the command
but still same error message received all the time.

or this might be a bugg in lstdc++ for 
Undefined first referenced symbol in file std::basic_streambufchar,
std::char_traitschar ::seekoff(long long, std::_Ios_Seekdir,
std::_Ios_Openmode)
../../../nobuilds/lib/sparc_SunOS_64/release/libPoco.a(Base64Decoder.o)


[Bug c/53275] GCC-4.4.4 gives error: ld: fatal: Symbol referencing errors. No output written to sparc_SunOS

2012-05-10 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53275

--- Comment #6 from birender.singh at hotmail dot com 2012-05-10 06:21:54 UTC 
---
(In reply to comment #5)
 This Bugzilla is for bugs in GCC, not help fixing your code.
 
 Please use the gcc-h...@gcc.gnu.org mailing list for questions about using GCC
 and help fixing compilation failures. None of the bugs you've reported have
 been problems caused by GCC.


Regret for inconvenience,will report this to gcc-h...@gcc.gnu.org

Thanks,
-BK


[Bug c/53275] GCC-4.4.4 gives error: ld: fatal: Symbol referencing errors. No output written to sparc_SunOS

2012-05-09 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53275

birender.singh at hotmail dot com changed:

   What|Removed |Added

 Resolution|INVALID |FIXED

--- Comment #2 from birender.singh at hotmail dot com 2012-05-09 15:59:33 UTC 
---
This error resolved by adding library -lresolv -lrt

Thanks to all.

-Birender


[Bug libstdc++/53297] New: Linker error on solaris 10 using gcc-4.4.4 64bit.

2012-05-09 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53297

 Bug #: 53297
   Summary: Linker error on solaris 10 using gcc-4.4.4 64bit.
Classification: Unclassified
   Product: gcc
   Version: 4.4.4
Status: UNCONFIRMED
  Severity: major
  Priority: P3
 Component: libstdc++
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: birender.si...@hotmail.com


Machine used: Solaris10 sparc 

After successfully Build gcc-4.4.4 64bit on solaris10 sparc and using it.

Below error received while compiling a test code using GCC-4.4.4 64bit.

.
.
.
.
../prodStartLicTest/prodStartLicTest.h: In member function 'int
prodStartLicTest::verifyDecryptedText(char*)':
../prodStartLicTest/prodStartLicTest.h:1361: warning: cannot pass objects of
non-POD type 'struct std::string' through '...'; call will abort at runtime
../prodStartLicTest/prodStartLicTest.h: In member function 'void
prodStartLicTest::prodStartEnumTest(char*, const char*, int, SLIC_STATUS)':
../prodStartLicTest/prodStartLicTest.h:1509: warning: deprecated conversion
from string constant to 'char*'
../prodStartLicTest/prodStartLicTest.h: In member function 'void
prodStartLicTest::prodStartEnumTest(char*, const char*, int, SLIC_STATUS, int,
int)':
../prodStartLicTest/prodStartLicTest.h:1692: warning: deprecated conversion
from string constant to 'char*'
../../../nobuilds/bin/fipsld -m64   -o sparc_SunOS_64/release/SuiteMain
sparc_SunOS_64/release/SuiteMain.o -L/els/install/staf64/lib -lSTAF
../../../nobuilds
/key/sparc_SunOS_64/release/slic_devkey.o
-L../../../nobuilds/lib/sparc_SunOS_64/release -lslic -lPoco -lopenssl -lm
-lstdc++ ../SlicTestLib/sparc_SunOS_64/r
elease/libSlicTest.a -lresolv -lrt -lc -ldl -lsocket  -lnsl
Undefined   first referenced
 symbol in file
std::basic_streambufchar, std::char_traitschar ::seekoff(long long,
std::_Ios_Seekdir, std::_Ios_Openmode)
../../../nobuilds/lib/sparc_SunOS_64/release/l
ibPoco.a(Base64Decoder.o)
ld: fatal: Symbol referencing errors. No output written to 
sparc_SunOS_64/release/SuiteMain
collect2: ld returned 1 exit status
make[3]: *** [sparc_SunOS_64/release/SuiteMain] Error 1
make[3]: Leaving directory `/els/licensing/licensing_sdk/trunk/qa/SuiteMain'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/els/licensing/licensing_sdk/trunk/qa/SuiteMain'
make[1]: *** [all_subdirs] Error 1
make[1]: Leaving directory `/els/licensing/licensing_sdk/trunk/qa'
make: *** [all] Error 2


Please provide some solution.

Regards,
-BK


[Bug libstdc++/53297] Linker error on solaris 10 using gcc-4.4.4 64bit.

2012-05-09 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53297

--- Comment #3 from birender.singh at hotmail dot com 2012-05-10 05:37:31 UTC 
---
(In reply to comment #2)
 Oh well.
 
 *** This bug has been marked as a duplicate of bug 53275 ***

This bugs reported have been problems caused by GCC-4.4.4 libstdc++ library on
solaris10 sparc, please have a look below, am using this library but still
getting below error.


Undefined  first referenced symbol in file
std::basic_streambufchar, std::char_traitschar ::seekoff(long long,
std::_Ios_Seekdir, std::_Ios_Openmode)
../../../nobuilds/lib/sparc_SunOS_64/release/libPoco.a(Base64Decoder.o)
ld: fatal: Symbol referencing errors. No output written to 
sparc_SunOS_64/release/SuiteMain
collect2: ld returned 1 exit status



Accepting the Bug 53275 was invalid due to library missing


[Bug c/53275] New: GCC-4.4.4 gives error: ld: fatal: Symbol referencing errors. No output written to sparc_SunOS

2012-05-08 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53275

 Bug #: 53275
   Summary: GCC-4.4.4 gives error: ld: fatal: Symbol referencing
errors. No output written to sparc_SunOS
Classification: Unclassified
   Product: gcc
   Version: 4.4.4
Status: UNCONFIRMED
  Severity: major
  Priority: P3
 Component: c
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: birender.si...@hotmail.com


Compiling the testcode using gcc-4.4.4 32bit[configure and build it on this
same machine sorlais sparc 10] on Sorlais10 Sparc machine. Following error
received while compiling using gcc-4.4.4 


../prodStartLicTest/prodStartLicTest.h:643: warning: deprecated
conversion from string constant to 'char*'
../prodStartLicTest/prodStartLicTest.h:801: warning: deprecated
conversion from string constant to 'char*'
../prodStartLicTest/prodStartLicTest.h:802: warning: deprecated
conversion from string constant to 'char*'
../prodStartLicTest/prodStartLicTest.h:803: warning: deprecated
conversion from string constant to 'char*'
../prodStartLicTest/prodStartLicTest.h:804: warning: deprecated
conversion from string constant to 'char*'
../prodStartLicTest/prodStartLicTest.h: In member function 'int
prodStartLicTest::verifyDecryptedText(char*)':
../prodStartLicTest/prodStartLicTest.h:1368: warning: cannot pass
objects of non-POD type 'struct std::string' through '...'; call will
abort at runtime
../prodStartLicTest/prodStartLicTest.h: In member function 'void
prodStartLicTest::prodStartEnumTest(char*, const char*, int,
SLIC_STATUS)':
../prodStartLicTest/prodStartLicTest.h:1516: warning: deprecated
conversion from string constant to 'char*'
../prodStartLicTest/prodStartLicTest.h: In member function 'void
prodStartLicTest::prodStartEnumTest(char*, const char*, int,
SLIC_STATUS, int, int)':
../prodStartLicTest/prodStartLicTest.h:1699: warning: deprecated
conversion from string constant to 'char*'
../../../nobuilds/bin/fipsld -m32  -o sparc_SunOS_32/release/SuiteMain
sparc_SunOS_32/release/SuiteMain.o -L/els/install/staf/lib -lSTAF
-L../../../nobuilds/
lib/sparc_SunOS_32/release -lslic -lPoco -lopenssl -lm -lstdc++
../SlicTestLib/sparc_SunOS_32/release/libSlicTest.a
../../../nobuilds/lib/sparc_SunOS_32/rele
ase/libslic.a ../../../nobuilds/key/sparc_SunOS_32/release/slic_devkey.o
-lsocket -lnsl
Undefined   first referenced
 symbol in file
inet_aton
../../../nobuilds/lib/sparc_SunOS_32/release/libPoco.a(IPAddress.o)
(symbol belongs to implicit dependency /usr/lib/libr
esolv.so.2)
sched_get_priority_max
../../../nobuilds/lib/sparc_SunOS_32/release/libPoco.a(Thread.o)
sched_get_priority_min
../../../nobuilds/lib/sparc_SunOS_32/release/libPoco.a(Thread.o)
ld: fatal: Symbol referencing errors. No output written to
sparc_SunOS_32/release/SuiteMain
collect2: ld returned 1 exit status
make[3]: *** [sparc_SunOS_32/release/SuiteMain] Error 1
make[3]: Leaving directory `/trunk/qa/SuiteMain'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/trunk/qa/SuiteMain'
make[1]: *** [all_subdirs] Error 1
make[1]: Leaving directory `/trunk/qa'
make: *** [all] Error 2


please provide help to resolve the above error.


[Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile

2012-05-07 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53112

--- Comment #15 from birender.singh at hotmail dot com 2012-05-07 09:20:51 UTC 
---
This error configure: error: cannot compute suffix of object files cannot
compile while building gcc on solaris get resolved by adding lib location in
the PATH

i.e 

export
PATH=$PATH:/els/install/biru/local/gmp_64/lib:/els/install/biru/local/mpfr_64/lib

As per help mentioned in link http://gcc.gnu.org/wiki/FAQ#configure; i.e
missing library.


[Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile

2012-05-07 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53112

--- Comment #16 from birender.singh at hotmail dot com 2012-05-07 09:22:51 UTC 
---
Thanks to every one, god bless all.

Regards,
-Birender


[Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile

2012-05-01 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53112

--- Comment #13 from birender.singh at hotmail dot com 2012-05-01 09:40:31 UTC 
---
The error removed when configured with --enable-languages=c,c++   only.
Is this correct? or if this gcc is build then does it make effect to java ?
beacuse don't know gcc + java releation..?


[Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile

2012-04-30 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53112

--- Comment #2 from birender.singh at hotmail dot com 2012-04-30 11:06:51 UTC 
---
Building 64bit gcc-4.4.4 and received below error:

1.
Edit the configure file from gcc-4.4.4 directory at line number 4607:

Line 4607:
if test -d ${srcdir}/gcc  test x$have_gmp = xno; then
have_gmp=yes

If I understand shell language properly (and I do have a passing familiarity),
I think the line should be:

if test -d ${srcdir}/gcc  test x$have_gmp = xyes; then
have_gmp=yes


And then set the paths:

echo
$PATH=/els/install/gcc-4.4.4/bin:/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/platform/SUNW,Sun-Fire-V240/sbin:/opt/sun/bin:/opt/VRTS/bin:/etc/vx/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin


echo
$LD_LIBRARY_PATH=/els/install/gcc-4.4.4/lib/sparcv9:/els/install/gcc-4.4.4/lib:/usr/local/lib:/usr/ccs/lib



and 
../gcc-4.4.4/configure --with-gmp=/usr/local --with-mpfr=/usr/local
sparcv9-sun-solaris2.9

and executed: make

and recevied below error after few hours..
.
.
.
e.o ipa-utils.o ipa.o matrix-reorg.o prefix.o tree-inline.o tree-nomudflap.o
varpool.o
ranlib  libbackend.a
gcc  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition
  -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H  -o  
cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o
c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o
c-form  at.o c-semantics.o c-ppoutput.o c-cppbuiltin.o
c-objc-common.o c-dump.o c-pch.o c-parser.o sol2-c.o c-gimplify.o
tree-mudflap.o c-pretty-print.  o c-omp.o dummy-checksum.o \
  main.o tree-browser.o libbackend.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a /usr/local/lib/libintl.so -L/
 usr/local/lib /usr/local/lib/libiconv.so -lsec -lc
-R/usr/local/lib -R/usr/lib -R/usr/openwin/lib -R/usr/local/ssl/lib
-R/usr/local/BerkeleyDB.  4.2/lib /usr/local/lib/libiconv.so
-L/usr/local/lib -R/usr/local/lib ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a   -L/usr/local/lib  
-L/usr/local/lib -lmpfr -lgmp
ld: warning: file /usr/local/lib/libiconv.so: attempted multiple inclusion of
file
ld: fatal: file /usr/local/lib/libmpfr.so: wrong ELF class: ELFCLASS64
ld: fatal: file /usr/local/lib/libgmp.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to cc1-dummy
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[3]: Leaving directory `/els/install/biru/obj/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/els/install/biru/obj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/els/install/biru/obj'
make: *** [all] Error 2
root@slimsol9t4 #


PLease provide solution to this, and also am i doing correct steps to make 64
bit gcc of version gcc-4.4.4. If not then also please steps or any help links.

Thanks,
-BK


[Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile

2012-04-30 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53112

--- Comment #4 from birender.singh at hotmail dot com 2012-04-30 11:48:46 UTC 
---
Sorry buddy, I have removed past code and setup the fresh code.

This time have build 64 bit gmp and mpfr with ABI=64 @ --prefix path
/usr/local/ and tried to build gcc in 64 bit. but it gave this error ELFCLASS64
for libmpfr.so and libgmp.so


[Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile

2012-04-30 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53112

--- Comment #10 from birender.singh at hotmail dot com 2012-04-30 14:57:03 UTC 
---


while building for a few hours the build failed with error as below:



make[8]: *** [libjavamath.la] Error 1
make[8]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/native/jni/java-math'
make[8]: Entering directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/native/jni'
/bin/bash ../../scripts/check_jni_methods.sh
make[8]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/native/jni'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/native/jni'
make[7]: Entering directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/native'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/native'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/native'
Making all in resource
make[6]: Entering directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/resource'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/resource'
Making all in scripts
make[6]: Entering directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/scripts'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/scripts'
Making all in tools
make[6]: Entering directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/tools'
Makefile:839: warning: overriding commands for target `gjdoc'
Makefile:774: warning: ignoring old commands for target `gjdoc'
make  all-am
make[7]: Entering directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/tools'
Makefile:839: warning: overriding commands for target `gjdoc'
Makefile:774: warning: ignoring old commands for target `gjdoc'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/tools'
make[6]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/tools'
make[6]: Entering directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath'
true  DO=all multi-do # make
make[6]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/libjava'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/els/install/biru/obj'
make: *** [all] Error 2
root@slimsol9t4 #

Yet 64 bit gcc-4.4.4 not build.:(


REgards,
-BK


[Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile

2012-04-25 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53112

 Bug #: 53112
   Summary: Fails at Configuring stage 1 in
sparc64-sun-solaris2.10/libgcc: error: cannot compute
suffix of object files: cannot compile
Classification: Unclassified
   Product: gcc
   Version: 4.4.4
Status: UNCONFIRMED
  Severity: major
  Priority: P3
 Component: bootstrap
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: birender.si...@hotmail.com


1. Machine Deatils:

bash-3.00# uname -a
SunOS slimsol10t1 5.10 Generic_118822-25 sun4u sparc SUNW,Sun-Fire-V240

bash-3.00# cat /etc/release
   Solaris 10 1/06 s10s_u1wos_19a SPARC
   Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
Use is subject to license terms.
   Assembled 07 December 2005

2. Following are the PATH setting done on system:

bash-3.00# echo $PATH
/els/install/biru/local/find4/bin:/els/install/biru/local/tar-1.12-bin/bin:/els/install/jdk1.6.0_16/bin/:/els/install/gcc-3.4.5_64/bin:/els/install/staf64/bin:/els/install/staf64/services/STAFHTTP.jar:/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Sun-Fire-V240/sbin:/opt/VRTS/bin:/etc/vx/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin::/usr/local/staf/lib/:/els/install/staf/lib:/usr/bin/:/usr/xpg4/bin:/usr/sfw/bin:/usr/dt/bin:


bash-3.00# echo $LD_LIBRARY_PATH
/usr/sfw/lib:/usr/local/lib:/usr/ccs/lib:/els/install/gcc-3.4.5_64/lib:/els/install/jdk1.6.0_16/jre/lib/sparc/:/els/install/jdk1.6.0_16/jre/lib/sparc/client:/els/install/staf64/lib:/els/install/staf64/lib/JSTAF.zip:/els/install/staf64/lib/JSTAF.jar:/els/install/staf64/services/STAFHTTP.jar

3. Trying to build GCC-4.4.4 in 64 bit, Downloaded gcc-4.4.4.tar.gz and
extarcted and configured as below:

 ../gcc-4.4.4/configure CC='gcc -m64' --prefix=/els/install/biru/local/gcc4_64
--build=sparc64-sun-solaris2.10 --with-gmp=/els/install/biru/local/gmp_64
--with-mpfr=/els/install/biru/local/mpfr_64

Configured successfuly.

4. extectued make and below error received.

make[3]: Leaving directory `/els/install/biru/gcc4_64/obj/gcc'
mkdir sparc64-sun-solaris2.10/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in sparc64-sun-solaris2.10/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install...
/els/install/biru/gcc4_64/gcc-4.4.4/install-sh -c
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking build system type... sparc64-sun-solaris2.10
checking host system type... sparc64-sun-solaris2.10
checking for sparc64-sun-solaris2.10-ar... ar
checking for sparc64-sun-solaris2.10-lipo... lipo
checking for sparc64-sun-solaris2.10-nm...
/els/install/biru/gcc4_64/obj/./gcc/nm
checking for sparc64-sun-solaris2.10-ranlib... ranlib
checking for sparc64-sun-solaris2.10-strip... strip
checking whether ln -s works... yes
checking for sparc64-sun-solaris2.10-gcc...
/els/install/biru/gcc4_64/obj/./gcc/xgcc -B/els/install/biru/gcc4_64/obj/./gcc/
-B/els/install/biru/local/gcc4_64/sparc64-sun-solaris2.10/bin/
-B/els/install/biru/local/gcc4_64/sparc64-sun-solaris2.10/lib/ -isystem
/els/install/biru/local/gcc4_64/sparc64-sun-solaris2.10/include -isystem
/els/install/biru/local/gcc4_64/sparc64-sun-solaris2.10/sys-include
checking for suffix of object files... configure: error: in
`/els/install/biru/gcc4_64/obj/sparc64-sun-solaris2.10/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/els/install/biru/gcc4_64/obj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/els/install/biru/gcc4_64/obj'
make: *** [all] Error 2
bash-3.00#


Kindly please provide the solution for the above error.

Regards,
-BK


[Bug bootstrap/52601] Gcc build fails at Making all in tools with find: bad option -path and find: path-list predicate-list

2012-03-22 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52601

--- Comment #5 from birender.singh at hotmail dot com 2012-03-23 02:08:08 UTC 
---
Thanks, Eric Botcazou. I have compiled gcc-4.4.4 and installed successfully.
God bless you.


[Bug bootstrap/52601] Gcc build fails at Making all in tools with find: bad option -path and find: path-list predicate-list

2012-03-20 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52601

--- Comment #3 from birender.singh at hotmail dot com 2012-03-20 09:26:01 UTC 
---
Thanks Eric Botcazou for the valuable suggestion.

I downloaded,findutils-4.4.0.tar from gnu website, compiled and installed on my
machine.


After the installation of gnu find i compiled gcc-4.4.4 again. This time it
took more then 4 hour to compile, and at last throws error as mentioned below,
But still i installed this and checked the binnaries, found all the required
binnaries were available at prefixed location. Currentlly am able to use this
gcc and g++ binnaries but not sure about the complete compilation and
installation of gcc-4.4.4

Is this correct or should i again compiled gcc-4.4.4 to get complete successful
compilation ?

. 
.
.
.
libtool: link: ranlib .libs/libgfortran.a
libtool: link: ( cd .libs  rm -f libgfortran.la  ln -s
../libgfortran.la libgfortran.la )
true  DO=all multi-do # make
make[6]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libgfortran'
make[5]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libgfortran'
make[4]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libgfortran'
make[3]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libgfortran'
make[2]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libgfortran'
Checking multilib configuration for boehm-gc...
Configuring in sparc-sun-solaris2.9/boehm-gc
configure: loading cache ./config.cache
configure: error: `CXX' has changed since the previous run:
configure:   former value:  `/els/install/gccbuild/gcc4/./gcc/g++
-B/els/install/gccbuild/gcc4/./gcc/ -nostdinc++ 
-L/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libstdc++-v3/src
-L/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libstdc++-v3/src/.libs
-B/els/install/biru/local/gcc/sparc-sun-solaris2.9/bin/
-B/els/install/biru/local/gcc/sparc-sun-solaris2.9/lib/ -isystem
/els/install/biru/local/gcc/sparc-sun-solaris2.9/include -isystem
/els/install/biru/local/gcc/sparc-sun-solaris2.9/sys-include'
configure:   current value: `/els/install/gccbuild/gcc4/./gcc/g++
-B/els/install/gccbuild/gcc4/./gcc/ -nostdinc++ -nostdinc++
-I/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libstdc++-v3/include/sparc-sun-solaris2.9
-I/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libstdc++-v3/include
-I/els/install/biru/gcc444/gcc-4.4.4/libstdc++-v3/libsupc++
-I/els/install/biru/gcc444/gcc-4.4.4/libstdc++-v3/include/backward
-I/els/install/biru/gcc444/gcc-4.4.4/libstdc++-v3/testsuite/util
-L/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libstdc++-v3/src
-L/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libstdc++-v3/src/.libs
-B/els/install/biru/local/gcc/sparc-sun-solaris2.9/bin/
-B/els/install/biru/local/gcc/sparc-sun-solaris2.9/lib/ -isystem
/els/install/biru/local/gcc/sparc-sun-solaris2.9/include -isystem
/els/install/biru/local/gcc/sparc-sun-solaris2.9/sys-include'
configure: error: in
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/boehm-gc':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start
over
make[1]: *** [configure-target-boehm-gc] Error 1
make[1]: Leaving directory `/els/install/gccbuild/gcc4'
make: *** [all] Error 2


[Bug bootstrap/52601] New: Gcc build fails at Making all in tools with find: bad option -path and find: path-list predicate-list

2012-03-16 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52601

 Bug #: 52601
   Summary: Gcc build fails at Making all in tools with find:
bad option -path and find: path-list predicate-list
Classification: Unclassified
   Product: gcc
   Version: 4.4.4
Status: UNCONFIRMED
  Severity: critical
  Priority: P3
 Component: bootstrap
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: birender.si...@hotmail.com


Machine Details: 
1) uname -a
   SunOS slimsol9t4 5.9 Generic_122300-30 sun4u sparc SUNW,Sun-Fire-V240
2) isainfo -kv
   64-bit sparcv9 kernel modules
3) ./config.guess
sparc-sun-solaris2.9


Downloaded gcc-4.4.4.tar.gz, gmp-4.1.tar and mpfr-2.4.0.tar.
configured, make and make install the gmp and mpfr successfully but received
error while executing the make command for gcc-4.4.4

echo $LD_LIBRARY_PATH
/usr/bin:/usr/local/lib:/usr/ccs/lib:/els/install/gcc-3.4.5/lib:/els/install/jdk1.6.0_16/jre/lib/sparc/:/els/install/jdk1.6.0_16/jre/lib/sparc/client:/els/install/staf/lib:/els/install/staf/lib/JSTAF.zip:/els/install/staf/lib/JSTAF.jar:/els/install/staf/services/STAFHTTP.jar:/els/install/staf/lib/java12:/usr/openwin/lib


echo $PATH
/els/install/jdk1.6.0_16/bin/:/els/install/gcc-3.4.5/bin:/els/install/staf/bin:/els/install/staf/services/STAFHTTP.jar:/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Sun-Fire-V240/sbin:/opt/sun/bin:/opt/VRTS/bin:/etc/vx/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin


Configured gcc with following command:
../../biru/gcc444/gcc-4.4.4/configure --prefix=/els/install/biru/local/gcc
--build=sparc-sun-solaris2.9 --with-gmp=/els/install/biru/local/gmp
--with-mpfr=/els/install/biru/local/mpfr

and then executed: make 

Below are the error message received:

make[6]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libjava/classpath/scripts'
Making all in tools
make[6]: Entering directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libjava/classpath/tools'
Makefile:841: warning: overriding commands for target `gjdoc'
Makefile:776: warning: ignoring old commands for target `gjdoc'
find
../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/external/asm
-name '*.java' -print  asm.lst
find
../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/gnu/classpath/tools
\

../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/com/sun/javadoc
\

../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/com/sun/tools/doclets
\

../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/com/sun/tools/javadoc
\

../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/com/sun/tools/javac
\

../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/com/sun/tools/javah
\

../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/sun/rmi/rmic
\
 -path '*gnu/classpath/tools/gjdoc' pattern -prune -o -path
'*gnu/classpath/tools/doclets' pattern -prune -o GtternJDOC_EX = -path
'*gnu/classpath/tools/gjdoc' pattern -prune -o -path
'*gnu/classpath/tools/taglets' pattern -prune -o -path '*com/sun/javadoc'
pattern -prune -o -path '*com/sun/tools/doclets' pattern -prune -o -path
'*com/sun/tools/javadoc' pattern -prune -o \
 -name '*.java' -print  classes.lst
find: bad option -path
find: path-list predicate-list
make[6]: *** [tools.zip] Error 1
make[6]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libjava/classpath/tools'
make[6]: Entering directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libjava/classpath'
true  DO=all multi-do # make
make[6]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libjava/classpath'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libjava/classpath'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libjava'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libjava'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/els/install/gccbuild/gcc4'
make: *** [all] Error 2


Thanks,
-Biru