Bug 60483 - binutils: ld "shared -Bsymbolic" fails
binutils: ld "shared -Bsymbolic" fails
Product: Red Hat Linux
Classification: Retired
Component: binutils (Show other bugs)
alpha Linux
medium Severity medium
: ---
: ---
Assigned To: Beth Uptagrafft
Depends On:
  Show dependency treegraph
Reported: 2002-02-28 08:40 EST by Christopher Holmes
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-02-28 13:23:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Christopher Holmes 2002-02-28 08:40:54 EST
Description of Problem:

	binutils: ld "shared -Bsymbolic" fails

Version-Release number of selected component (if applicable):


How Reproducible:


Steps to Reproduce:

1. rpm -i binutils-
2. cd /usr/src/redhat/SPECS
3. rpm -ba binutils.spec
4. cd /usr/src/redhat/BUILD/binutils-
5. make -k check
6. review ./ld/ld.log

Actual Results:

gcc -L/usr/src/redhat/BUILD/binutils- -O2 -mieee -DXCOFF_TEST 
-I/usr/src/redhat/BUILD/binutils- -O2 -mieee 
-c /usr/src/redhat/BUILD/binutils- -o
gcc -L/usr/src/redhat/BUILD/binutils- -O2 -mieee -DXCOFF_TEST 
-fpic -B/usr/src/redhat/BUILD/binutils-
-I/usr/src/redhat/BUILD/binutils- -O2 -mieee 
-c /usr/src/redhat/BUILD/binutils- -o
/usr/src/redhat/BUILD/binutils-  -o tmpdir/shp.so -shared
-Bsymbolic tmpdir/sh1p.o tmpdir/sh2p.o
/usr/src/redhat/BUILD/binutils- -m elf64alpha  -o
tmpdir/shp -dynamic-linker /lib/ld-linux.so.2
/usr/lib/gcc-lib/alpha-redhat-linux/2.96/crtbegin.o -rpath tmpdir
tmpdir/mainnp.o tmpdir/shp.so -ldl 
-L/usr/lib/gcc-lib/alpha-redhat-linux/2.96/../../.. -lc
tmpdir/shp >tmpdir/shp.out
diff tmpdir/shp.out
< shlib_checkfunptr1 (shlib_shlibvar1) == 1
< shlib_getfunptr1 () == shlib_shlibvar1
> shlib_checkfunptr1 (shlib_shlibvar1) == 0
> shlib_getfunptr1 () != shlib_shlibvar1
child process exited abnormally
FAIL: shared -Bsymbolic

Expected Results:

PASS: shared -Bsymbolic

Additional Information:

	expected results achieved on intel RedHat7.2
Comment 1 Alexandre Petit-Bianco 2002-04-01 14:11:00 EST
I'm not seeing the same command being issued on my system as far as the
"shared -Bsymbolic" case. If I issue the commands filed in this report,
I get other errors...

Why different commands are being used, I can't really tell.

Note You need to log in before you can comment on or make changes to this bug.