Opened 12 years ago

Last modified 2 months ago

#36912 assigned defect

i386-elf-gcc @4.3.2: program and library paths incorrect

Reported by: stevej098@… Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: i386-elf-gcc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

 steve$ sudo port install i386-elf-gcc
Password:
--->  Computing dependencies for i386-elf-gcc
--->  Cleaning i386-elf-gcc
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

 steve$ sudo port info i386-elf-gcc
i386-elf-gcc @4.3.2, Revision 1 (cross, devel)
Variants:             universal

Description:          gnu compilers collection (including c++, fortran and objc) for i386-elf, with newlib runtime library.
Homepage:             http://gcc.gnu.org/

Library Dependencies: i386-elf-binutils, gmp, mpfr, gettext
Platforms:            darwin
License:              unknown
Maintainers:          stepan@coresystems.de

 steve$ which gcc
/opt/local/i386-elf/bin/gcc

 steve$ gcc -print-search-dirs
install: /opt/local/i386-elf/bin/../lib/gcc/i386-elf/4.3.2/
programs: =/opt/local/i386-elf/bin/../libexec/gcc/i386-elf/4.3.2/:/opt/local/i386-elf/bin/../libexec/gcc/:/opt/local/i386-elf/bin/../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/bin/i386-elf/4.3.2/:/opt/local/i386-elf/bin/../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/bin/
libraries: =/opt/local/i386-elf/bin/../lib/gcc/i386-elf/4.3.2/:/opt/local/i386-elf/bin/../lib/gcc/:/opt/local/i386-elf/bin/../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/lib/i386-elf/4.3.2/:/opt/local/i386-elf/bin/../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/lib/

mini-too:linux-2.6.34.13 steve$ gcc -print-search-dirs|grep programs|sed -e 's/programs: =//' -e 's/:/\
/g'| while read d
> do ls -d "$d"
> done
ls: /opt/local/i386-elf/bin/../libexec/gcc/i386-elf/4.3.2/: No such file or directory
ls: /opt/local/i386-elf/bin/../libexec/gcc/: No such file or directory
ls: /opt/local/i386-elf/bin/../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/bin/i386-elf/4.3.2/: No such file or directory
ls: /opt/local/i386-elf/bin/../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/bin/: No such file or directory

mini-too:linux-2.6.34.13 steve$ gcc -print-search-dirs|grep programs|sed -e 's/programs: =//' -e 's/:/\
/g'| sed 's,\.\./,../../,'|while read d
do ls -d "$d"
done
/opt/local/i386-elf/bin/../../libexec/gcc/i386-elf/4.3.2/
/opt/local/i386-elf/bin/../../libexec/gcc/
ls: /opt/local/i386-elf/bin/../../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/bin/i386-elf/4.3.2/: No such file or directory
/opt/local/i386-elf/bin/../../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/bin/

mini-too:linux-2.6.34.13 steve$ gcc -print-search-dirs|grep libraries|sed -e 's/libraries: =//' -e 's/:/\
/g'| while read d
do ls -d "$d"
done
ls: /opt/local/i386-elf/bin/../lib/gcc/i386-elf/4.3.2/: No such file or directory
ls: /opt/local/i386-elf/bin/../lib/gcc/: No such file or directory
ls: /opt/local/i386-elf/bin/../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/lib/i386-elf/4.3.2/: No such file or directory
ls: /opt/local/i386-elf/bin/../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/lib/: No such file or directory

mini-too:linux-2.6.34.13 steve$ gcc -print-search-dirs|grep libraries|sed -e 's/libraries: =//' -e 's/:/\
/g'| sed 's,\.\./,../../,'|while read d
do ls -d "$d"
done
/opt/local/i386-elf/bin/../../lib/gcc/i386-elf/4.3.2/
/opt/local/i386-elf/bin/../../lib/gcc/
ls: /opt/local/i386-elf/bin/../../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/lib/i386-elf/4.3.2/: No such file or directory
/opt/local/i386-elf/bin/../../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/lib/

Summary for both programs and libraries:

/opt/local/i386-elf/bin/../libexec/gcc/i386-elf/4.3.2/
-> /opt/local/i386-elf/bin/../../libexec/gcc/i386-elf/4.3.2/

/opt/local/i386-elf/bin/../libexec/gcc/
-> /opt/local/i386-elf/bin/../../libexec/gcc/

/opt/local/i386-elf/bin/../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/bin/
-> no idea

/opt/local/i386-elf/bin/../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/bin/
-> /opt/local/i386-elf/bin/../../lib/gcc/i386-elf/4.3.2/../../../../i386-elf/bin/

Change History (4)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: i386-elf-gcc 4.3.2 removed
Owner: changed from macports-tickets@… to stepan@…

In the future, please use WikiFormatting and Cc the port maintainer(s).

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: program and library paths in i386-elf-gcc (4.3.2) incorrecti386-elf-gcc @4.3.2: program and library paths incorrect

comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Owner: stepan@… deleted
Status: newassigned

comment:4 Changed 2 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.