#1841: Add 'osvers' key-value pair to Configure.pl
-----------------------+----------------------------------------------------
 Reporter:  jkeenan    |        Owner:  jkeenan 
     Type:  RFC        |       Status:  reopened
 Priority:  normal     |    Milestone:  2.10    
Component:  configure  |      Version:  2.10.0  
 Severity:  medium     |   Resolution:          
 Keywords:             |         Lang:          
    Patch:             |     Platform:          
-----------------------+----------------------------------------------------

Comment(by jkeenan):

 Here are excerpts from two Taptinder build reports on FreeBSD.  Curiously
 the value assigned to `osvers` is associated with two different ways of
 invoking `miniparrot`.

 First, assigning a value to `osvers` in r47088:
 {{{
 cc -o ./miniparrot src/main.o src/null_config.o  -L/usr/home/jurosz/tt1
 /client-data/Parrot-trunk-temp/blib/lib
   -lparrot  -lm -lcrypt -lutil -lreadline -lintl -Wl,-E  -L/usr/local/lib
 /usr/home/jurosz/tt1/client-data/Parrot-trunk-
 temp/blib/lib/libparrot.a(thread.o)(.text+0x2ab3):
   In function `pt_thread_run':
 src/thread.c:753: undefined reference to `pthread_create'
 *** Error code 1
 }}}
 Next, reverting to no assignment to `osvers` on FreeBSD in r47090:
 {{{
 g++ -o ./miniparrot src/main.o src/null_config.o
 -Wl,-R/usr/home/jurosz/tt1/client-data/Parrot-trunk-temp/blib/lib
   -L/usr/home/jurosz/tt1/client-data/Parrot-trunk-temp/blib/lib -lparrot
 -lm -lcrypt -lutil -pthread -lreadline -lintl
   -Wl,-E  -L/usr/local/lib
 ./miniparrot -Iruntime/parrot/include config_lib.pir >
 runtime/parrot/include/config.fpmc
 perl tools/build/parrot_config_c.pl >  src/parrot_config.c
 }}}

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1841#comment:6>
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