#495: [TODO] remove hardcoded path from installable pbc_to_exe
---------------------+------------------------------------------------------
 Reporter:  allison  |       Owner:     
     Type:  todo     |      Status:  new
 Priority:  normal   |   Milestone:     
Component:  none     |     Version:     
 Severity:  medium   |    Keywords:     
     Lang:           |       Patch:     
 Platform:           |  
---------------------+------------------------------------------------------

Comment(by gerd):

 There is a linking problem with an installed pbc_to_exe program to
 the object parrot_config at the current version when the build directory
 will be removed.

 Executing installed pbc_to_exe with existing build directory:
 > pbc_to_exe hello.pbc
 gcc -o hello.o -I/home/gz016/rpmbuild/BUILD/parrot-1.2.0/include
 -D_REENTRANT -D_GNU_SOURCE gs ...  -DHAS_GETTEXT -c hello.c
 Compiled: hello.o
 gcc -o hello hello.o
 /home/gz016/rpmbuild/BUILD/parrot-1.2.0/src/parrot_config.o
 -Wl,-rpath=/home/gz016/rpmbuild/BUILD/parrot-1.2.0/blib/lib
 -L/home/gz016/rpmbuild/BUILD/parrot-1.2.0/blib/lib -lparrot -Wl,-E
 -Wl,-rpath,/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE  -Wl,-E
 -lcurses -lm -lgmp -lreadline   -licuuc -licudata -lpthread -lm
 Linked: hello
 >


 Executing installed pbc_to_exe with deleted build directory:
 > pbc_to_exe hello.pbc
 gcc -o hello.o -I/home/gz016/rpmbuild/BUILD/parrot-1.2.0/include
 -D_REENTRANT -D_GNU_SOURCE gs ...  -DHAS_GETTEXT -c hello.c
 Compiled: hello.o
 cc1: Warnung: /home/gz016/rpmbuild/BUILD/parrot-1.2.0/include: Datei oder
 Verzeichnis nicht gefunden
 Compiled: hello.o
 gcc -o hello hello.o
 /home/gz016/rpmbuild/BUILD/parrot-1.2.0/src/parrot_config.o
 -Wl,-rpath=/home/gz016/rpmbuild/BUILD/parrot-1.2.0/blib/lib
 -L/home/gz016/rpmbuild/BUILD/parrot-1.2.0/blib/lib -lparrot -Wl,-E
 -Wl,-rpath,/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE  -Wl,-E
 -lcurses -lm -lgmp -lreadline   -licuuc -licudata -lpthread -lm
 gcc: /home/gz016/rpmbuild/BUILD/parrot-1.2.0/src/parrot_config.o: Datei
 oder Verzeichnis nicht gefunden
 linking failed
 current instr.: 'link_file' pc 822 (tools/dev/pbc_to_exe.pir:438)
 called from Sub 'main' pc 120 (tools/dev/pbc_to_exe.pir:101)
 >

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/495#comment:4>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to