Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 98052

Summary: sys-devel/binutils-2.15.92.0.2-r10 doesn't create all symlinks
Product: Gentoo Linux Reporter: Ryan McIntosh <thebigslide>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ryan McIntosh 2005-07-05 14:09:22 UTC
symlinks aren't created for ld, as, ar, nm, possibly others, when building on 
2005.0 amd64 stage 3 tarball

Reproducible: Always
Steps to Reproduce:
1. cd /mnt/gentoo && tar xvjpf stage3-2005.0-amd64.tbz2
2. chroot . /bin/bash
3. source /etc/profile;env-update && emerge sync && emerge -u --nodeps --
oneshot binutils && ls -la /usr/bin/ld

Actual Results:  
no such file or directory

Expected Results:  
there should be a link to /usr/[arch]/binutils-bin/ld

if I make the links by hand, everything works jolly.

This is in the stable toolchain, the upgrade will break the toolchain.
Comment 1 Ryan McIntosh 2005-07-05 14:27:58 UTC
##quick fix
cd /usr/bin
for i in `ls ../x86_64-pc-linux-gnu/binutils-bin/2.15.92.0.2/`
  do 
  ln -sf ../x86_64-pc-linux-gnu/binutils-bin/2.15.92.0.2/$i x86_64-pc-gnu-$i 
  ln -sf x86_64-pc-gnu-$i $i
done
Comment 2 Ryan McIntosh 2005-07-05 15:07:49 UTC
##quick fix for the quick fix
cd /usr/bin
for i in `ls ../x86_64-pc-linux-gnu/binutils-bin/2.15.92.0.2/`
  do 
  ln -sf ../x86_64-pc-linux-gnu/binutils-bin/2.15.92.0.2/$i x86_64-pc-linux-gnu-
$i 
  ln -sf x86_64-pc-linux-gnu-$i $i
done
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-06 05:43:46 UTC
It wont create symlinks, as you just nuked the binutils-config dependency.