Bug 10891

Summary: gcc in prc-tools has incorrect search paths compiled into it.
Product: [Retired] Red Hat Powertools Reporter: Rick Richardson <rick>
Component: prc-toolsAssignee: bero
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-04-18 14:35:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Makefile showing overrides needed none

Description Rick Richardson 2000-04-18 14:33:23 UTC
The search paths compiled into gcc in prc-tools are completely wrong.
Check this out:

$ /usr/bin/m68k-palmos-coff-gcc -print-search-dirs
install:
/var/tmp/prc-tools-buildroot/usr/lib/gcc-lib/m68k-palmos-coff/2.7.2.3-kgpd-071097/
programs:
/var/tmp/prc-tools-buildroot/usr/lib/gcc-lib/m68k-palmos-coff/2.7.2.3-kgpd-071097/:/var/tmp/prc-tools-buildroot/usr/lib/gcc-lib/m68k-palmos-coff/:/usr/lib/gcc/m68k-palmos-coff/2.7.2.3-kgpd-071097/:/usr/lib/gcc/m68k-palmos-coff/:/var/tmp/prc-tools-buildroot/usr/m68k-palmos-coff/bin/m68k-palmos-coff/2.7.2.3-kgpd-071097/:/var/tmp/prc-tools-buildroot/usr/m68k-palmos-coff/bin/
libraries:
/var/tmp/prc-tools-buildroot/usr/lib/gcc-lib/m68k-palmos-coff/2.7.2.3-kgpd-071097/:/usr/lib/gcc/m68k-palmos-coff/2.7.2.3-kgpd-071097/:/var/tmp/prc-tools-buildroot/usr/m68k-palmos-coff/lib/m68k-palmos-coff/2.7.2.3-kgpd-071097/:/var/tmp/prc-tools-buildroot/usr/m68k-palmos-coff/lib/

Yow! searching /var/tmp/... !!!!!!!  But nowhere is it searching the
correct locations!  This results in having to use multiple -B options in
order to override the broken search paths in order to find the various
compiler passes.

email me at rick (NOTE new email address) and I can send
you a helloworld.c and a Makefile that you can use to test the installation
of prc-tools before you ship it.

-Rick Richardson (rick)

Comment 1 Rick Richardson 2000-04-18 14:34:59 UTC
Created attachment 206 [details]
Makefile showing overrides needed

Comment 2 Bernhard Rosenkraenzer 2000-08-09 08:18:19 UTC

*** This bug has been marked as a duplicate of 10179 ***