bug report

i tried to install vlc0.8.5 on my Ultr80

when i am running the script to build the binary i get the folowing error:

gcc (GCC) 4.0.2 (gccfss)

Copyright (C) 2005 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2781: $? = 0

configure:2783: gcc -v </dev/null >&5

Using built-in specs.

Target: sparc-sun-solaris2.10

Configured with: /export/home/bldmstr/nightly/20060207_gcc2ir.s10.opt.tarbuild/src/configure --prefix=/opt/gcc --enable-languages=c,c++

Thread model: posix

gcc version 4.0.2 (gccfss)

configure:2786: $? = 0

configure:2788: gcc -V </dev/null >&5

gcc: '-V' option must have argument

configure:2791: $? = 1

configure:2814: checking for C compiler default output file name

configure:2817: gccconftest.c >&5

ld.so.1: cc1: fatal: lib_I_dbg_gen.so.1: open failed: No such file or directory

gcc: Internal error: Killed (program cc1)

Please submit a full bug report to

<URL:http://cooltools.sunsource.net Issue Tracker>.

configure:2820: $? = 1

configure: failed program was:

| /* confdefs.h. */

|

| #define PACKAGE_NAME "vlc"

| #define PACKAGE_TARNAME "vlc"

| #define PACKAGE_VERSION "0.8.5"

| #define PACKAGE_STRING "vlc 0.8.5"

| #define PACKAGE_BUGREPORT ""

| #define PACKAGE "vlc"

| #define VERSION "0.8.5"

| /* end confdefs.h. */

|

| int

| main ()

| {

|

|;

|return 0;

| }

configure:2859: error: C compiler cannot create executables

maybe someone can help me?

[1813 byte] By [Monchichi] at [2008-1-26]
# 1

Hello, Monchichi,

Could you check if you have installed the SUNW0scgfss package?

The lib_I_dbg_gen.so.1 should be at

/opt/SUNW0scgfss/4.0.2/prod/lib/lib_I_dbg_gen.so.1.

If the file is there, try

ldd /opt/gcc/libexec/gcc/sparc-sun-solaris2.10/4.0.2/cc1

and check if the output contains something like this:

lib_I_dbg_gen.so.1 =>/opt/gcc/bin/../../SUNW0scgfss/4.0.2/prod/lib/lib_I_dbg_gen.so.1

If not, try unset your LD_LIBRARY_PATH,

and do 'ldd ..../cc1' again to find the lib_I_dbg_gen.so.1.

Chih-Hung

ChihHung at 2007-7-6 > top of java,Open Source Technologies,OpenSPARC...
# 2

Hi ALL,

AS per the instructions on the website :- http://cooltools.sunsource.net/gcc/install.html , i installed the scg package & then i installed the gcc package. Both the installation was successfull.

( I went for default installation with NO options at the time of configuration )

But if i execute a simple C Program ( Just a Hello World Program ), i am getting the following ERROR Message ;-

ld: fatal: relocation error: file /opt/gcc/lib/gcc/sparc-sun-solaris2.9/4.0.2/crtbegin.o: section .rela.text: invalid relocation type: 0x52

collect2: ld returned 1 exit status

I did the same ldd command for cc1, cc1plus & collect2.

The output of all the 3 are :-

bash-2.05# ldd /opt/gcc/libexec/gcc/sparc-sun-solaris2.9/4.0.2/cc1

lib_I_dbg_gen.so.1 =>/opt/gcc/bin/../../SUNW0scgfss/4.0.2/prod/lib/lib_I_dbg_gen.so.1

libsunir.so =>/opt/gcc/bin/../../SUNW0scgfss/4.0.2/prod/lib/sys/libsunir.so

libc.so.1 =>/usr/lib/libc.so.1

libmd5.so.1 =>/usr/lib/libmd5.so.1

libdl.so.1 =>/usr/lib/libdl.so.1

libelf.so.1 =>/usr/lib/libelf.so.1

/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

/usr/platform/SUNW,Ultra-5_10/lib/libmd5_psr.so.1

bash-2.05# ldd /opt/gcc/libexec/gcc/sparc-sun-solaris2.9/4.0.2/cc1plus

lib_I_dbg_gen.so.1 =>/opt/gcc/bin/../../SUNW0scgfss/4.0.2/prod/lib/lib_I_dbg_gen.so.1

libsunir.so =>/opt/gcc/bin/../../SUNW0scgfss/4.0.2/prod/lib/sys/libsunir.so

libc.so.1 =>/usr/lib/libc.so.1

libmd5.so.1 =>/usr/lib/libmd5.so.1

libdl.so.1 =>/usr/lib/libdl.so.1

libelf.so.1 =>/usr/lib/libelf.so.1

/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

/usr/platform/SUNW,Ultra-5_10/lib/libmd5_psr.so.1

bash-2.05# ldd /opt/gcc/libexec/gcc/sparc-sun-solaris2.9/4.0.2/collect2

libc.so.1 =>/usr/lib/libc.so.1

libdl.so.1 =>/usr/lib/libdl.so.1

/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

bash-2.05#

So Can anyone give some good solution...

Thanking All in advance..

K.S.Madhavan

KSMadhavan at 2007-7-6 > top of java,Open Source Technologies,OpenSPARC...
# 3
Don't cross post please. Check replies in other thread.
alexey_ at 2007-7-6 > top of java,Open Source Technologies,OpenSPARC...