Issue while building GCC-4.6.1 on rhel 6.4
David Bernier
david250@videotron.ca
Fri Apr 18 20:54:00 GMT 2014
On 04/18/2014 02:52 PM, Sandeep wrote:
> Hi,
>
> I am building gcc-4.6.1 on rhel 6.4. and following is the error.
>
> Details :
>
> RHEL 6.4 : 2.6.32-358.el6.x86_64
> gcc : gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)
>
> /usr/bin/ld: /opt/gccbuild/./gcc/crtbeginS.o: relocation R_X86_64_PC32
> against symbol `__dso_handle' can not be used when making a shared
> object; recompile with -fPIC
> /usr/bin/ld: final link failed: Bad value
> collect2: ld returned 1 exit status
> make[4]: *** [libmudflap.la] Error 1
> make[4]: Leaving directory `/opt/gccbuild/x86_64-unknown-linux-gnu/libmudflap'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/opt/gccbuild/x86_64-unknown-linux-gnu/libmudflap'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/opt/gccbuild/x86_64-unknown-linux-gnu/libmudflap'
> make[1]: *** [all-target-libmudflap] Error 2
> make[1]: Leaving directory `/opt/gccbuild'
> make: *** [all] Error 2
>
> Please help.
>
> Thanks
> SN
>
Have you tried listing all your hardware, with lshal ?
Example:
[david@localhost ~]$ lshal | more
Dumping 114 device(s) from the Global Device List:
-------------------------------------------------
udi = '/org/freedesktop/Hal/devices/computer'
info.addons = {'hald-addon-acpi'} (string list)
info.callouts.add = {'hal-storage-cleanup-all-mountpoints'} (string list)
info.interfaces = {'org.freedesktop.Hal.Device.SystemPowerManagement'}
(string list)
info.product = 'Computer' (string)
info.subsystem = 'unknown' (string)
etc.
It's very long, but very detailed about hardware vendor, type, details ...
Dave
More information about the Gcc-help
mailing list