#1829: Recent changes impeded building and testing on smaller boxes
---------------------+------------------------------------------------------
 Reporter:  jkeenan  |        Owner:          
     Type:  bug      |       Status:  reopened
 Priority:  normal   |    Milestone:          
Component:  build    |      Version:  2.8.0   
 Severity:  medium   |   Resolution:          
 Keywords:           |         Lang:          
    Patch:           |     Platform:          
---------------------+------------------------------------------------------

Comment(by jkeenan):

 Replying to [comment:4 doughera]:
 > Replying to [comment:3 jkeenan]:
 >
 > {{{
 > > config/gen/platform/generic/sysmem.c: In function
 'Parrot_sysmem_amount':
 > > config/gen/platform/generic/sysmem.c:44: error: '_SC_AVPHYS_PAGES'
 undeclared (first use in this function)
 > }}}
 >
 > I suspect the same error will occur on most BSD derivatives as well.

 Well, I worked up a program based on code found in various Apple mailing
 lists, and cotto turned it into ''config/gen/platform/darwin/sysmem.c'' --
 and GeJ turned that into ''config/gen/platform/freebsd/sysmem.c''.

 But my build problems on Darwin are still not solved.  I'm getting past
 the previous failure point, but am now failing at:
 {{{
 /usr/bin/gcc -I./include -I./include/pmc -pipe -fno-common -Wno-long-
 double
 -I/sw/include -I/opt/local/include -DHASATTRIBUTE_CONST
 -DHASATTRIBUTE_DEPRECATED
 -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN
 -DHASATTRIBUTE_PURE
 -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DHAS_GETTEXT
 -g     -falign-functions=16 -fvisibility=hidden -funit-at-a-time -W -Wall
 -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment
 -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wextra -Wformat
 -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k
 -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces
 -Wmissing-field-initializers -Wno-missing-format-attribute
 -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith
 -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare
 -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default
 -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros
 -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement
 -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-
 declarations
 -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition
 -Wstrict-prototypes -Isrc -o src/null_config.o -c src/null_config.c
 /usr/bin/g++ -o miniparrot src/main.o src/null_config.o \
 -L/Users/jimk/work/parrot/blib/lib -L/Users/jimk/work/parrot/blib/lib
 -lparrot
   -lm -lgmp -lreadline -lintl -undefined dynamic_lookup -L/sw/lib
 -L/opt/local/lib
 ./miniparrot -Iruntime/parrot/include config_lib.pir >
 runtime/parrot/include/config.fpmc
 src/string/api.c:702: failed assertion 'encoding'
 make: *** [runtime/parrot/include/config.fpmc] Error 134
 }}}
 At an earlier point in this build, I got this warning:
 {{{
 config/gen/platform/darwin/sysmem.c:38: warning: no previous prototype
   for 'Parrot_sysmem_amount'
 }}}
 >

 I don't know whether these are related.

 >
 > Please do note carefully that the physmem.c file is licensed under the
 GPL.

 Can you spell out the implications for us?

 Thanks.

 kid51

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