Opened 12 years ago

Last modified 2 months ago

#36912 assigned defect

program and library paths in i386-elf-gcc (4.3.2) incorrect — at Initial Version

Reported by: stevej098@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: i386-elf-gcc

Description

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@…

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 (0)

Note: See TracTickets for help on using tickets.