Giter Club home page Giter Club logo

foment's People

Contributors

leftmike avatar

Watchers

 avatar

foment's Issues

link fails on linux

Linux ponk 3.8.0-33-generic #48-Ubuntu SMP Wed Oct 23 09:16:58 UTC 2013 x86_64 
x86_64 x86_64 GNU/Linux

GNU ld (GNU Binutils for Ubuntu) 2.23.2

I had to move -lpthread to the end of the link line.

Original issue reported on code.google.com by [email protected] on 25 Jan 2014 at 2:07

Attachments:

build broken on os x

What steps will reproduce the problem?
1. cd unix
2. make

What is the expected output? What do you see instead?

I expect a successful build, but get the following error:

../src/gc.cpp:1705:22: error: use of undeclared identifier 'MAP_ANONYMOUS'
                                          MAP_PRIVATE | MAP_ANONYMOUS, -1 ,0);
                                                        ^

What version of the product are you using? On what operating system?

$ cc --version
Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix

On OS X you need to use MAP_ANON.  You could
do this with something like:

#ifdef __APPLE__
#define MAP_ANONYMOUS MAP_ANON
#endif

Doing so and all tests pass.

Original issue reported on code.google.com by [email protected] on 14 Jan 2014 at 8:30

runtests fails 4 tests involving expt

What steps will reproduce the problem?
1. Build foment using VS express 2013
2. Open command line and issue ..\Debug\foment runtests.scm r7rs.scm 
r7rs-eval.scm foment.scm eccentric.scm\
            r5rs_pitfall.scm unicode.scm srfi.scm
3.

What is the expected output? What do you see instead?
Expected all tests to pass. Failed (expt -1/2 3/4) giving +nan.0 and 3 other 
tests

What version of the product are you using? On what operating system?
0.2 on Windows 8.1

Please provide any additional information below.

Something may be wrong with complex results from expt.

Original issue reported on code.google.com by [email protected] on 5 Jan 2014 at 6:48

Consider supporting .sld as an extension for libraries

This is the extension Chibi uses for library files as distinct from code files 
(which can have any extension, though ".scm" is usual).  By doing so, we 
clearly distinguish between files that contain define-library forms and files 
that contain Scheme definitions or other code.

I recommend checking for .sld first and .scm afterwards.

Original issue reported on code.google.com by [email protected] on 23 Oct 2013 at 10:27

Incorrect error message when call make-bytevector with big integer.

I found incorrect error message.

{1339016} =] (import (scheme base))
{17408} =] (begin (make-bytevector 134217727 0) #f)
#<(exception: #x6b10f0 implementation-restriction make-bytevector 
"make-bytevector: length greater than maximum object length" irritants: ())>
{5856} =] (begin (make-bytevector 134217728 0) #f)
#<(exception: #x6b2fe0 assertion-violation make-bytevector "make-bytevector: 
expected an exact non-negative integer" irritants: (134217728))>

134217728 is not negative integer.

Original issue reported on code.google.com by [email protected] on 12 Aug 2014 at 5:26

Unable to build on Ubuntu 12.04

Attempted to compile foment under Ubuntu Linux 12.04 and received the following 
errors:

mkdir debug
mkdir release
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/foment.o 
../src/foment.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/gc.o 
../src/gc.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/syncthrd.o 
../src/syncthrd.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/compile.o 
../src/compile.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/io.o 
../src/io.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/synrules.o 
../src/synrules.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/synpass.o 
../src/synpass.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/midpass.o 
../src/midpass.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/genpass.o 
../src/genpass.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/pairs.o 
../src/pairs.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/unicode.o 
../src/unicode.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/chars.o 
../src/chars.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/strings.o 
../src/strings.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/vectors.o 
../src/vectors.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/library.o 
../src/library.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/execute.o 
../src/execute.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/numbers.o 
../src/numbers.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/write.o 
../src/write.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/read.o 
../src/read.cpp
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/main.o 
../src/main.cpp
g++ -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX ../src/txt2cpp.cpp -o 
debug/txt2cpp.o
g++ debug/txt2cpp.o -o debug/txt2cpp
debug/txt2cpp ../src/base.scm debug/base.cpp BaseCode
cc -c -ggdb -Wall -DFOMENT_DEBUG -DFOMENT_UNIX -I ../src -o debug/base.o 
debug/base.cpp
g++ -lpthread -o debug/foment debug/foment.o debug/gc.o debug/syncthrd.o 
debug/compile.o debug/io.o debug/synrules.o debug/synpass.o debug/midpass.o 
debug/genpass.o debug/pairs.o debug/unicode.o debug/chars.o debug/strings.o 
debug/vectors.o debug/library.o debug/execute.o debug/numbers.o debug/write.o 
debug/read.o debug/main.o debug/base.o
debug/gc.o: In function `EnterThread(_FThreadState*, void*, void*, void*)':
/home/justin/Documents/foment/unix/../src/gc.cpp:1422: undefined reference to 
`pthread_getspecific'
debug/gc.o: In function `SetupCore(_FThreadState*)':
/home/justin/Documents/foment/unix/../src/gc.cpp:1588: undefined reference to 
`pthread_key_create'
debug/gc.o: In function `GetThreadState()':
/home/justin/Documents/foment/unix/../src/syncthrd.hpp:198: undefined reference 
to `pthread_getspecific'
/home/justin/Documents/foment/unix/../src/syncthrd.hpp:200: undefined reference 
to `pthread_getspecific'
debug/gc.o: In function `SetThreadState(_FThreadState*)':
/home/justin/Documents/foment/unix/../src/syncthrd.hpp:205: undefined reference 
to `pthread_setspecific'
debug/syncthrd.o: In function `InitializeExclusive(pthread_mutex_t*)':
/home/justin/Documents/foment/unix/../src/syncthrd.cpp:52: undefined reference 
to `pthread_mutexattr_init'
/home/justin/Documents/foment/unix/../src/syncthrd.cpp:53: undefined reference 
to `pthread_mutexattr_settype'
debug/syncthrd.o: In function `RunThreadPrimitiveFn':
/home/justin/Documents/foment/unix/../src/syncthrd.cpp:212: undefined reference 
to `pthread_create'
debug/syncthrd.o: In function `TryExclusive(pthread_mutex_t*)':
/home/justin/Documents/foment/unix/../src/syncthrd.hpp:100: undefined reference 
to `pthread_mutex_trylock'
collect2: ld returned 1 exit status
make: *** [debug/foment] Error 1


For reference, my system is running Ubuntu 12.04.1 LTS (GNU/Linux 
3.2.0-29-generic-pae i686)

Original issue reported on code.google.com by [email protected] on 4 Nov 2013 at 7:28

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.