libposix-development Mailing List for libposix
Status: Pre-Alpha
Brought to you by:
hdante
You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(16) |
Jun
(122) |
Jul
(49) |
Aug
(19) |
Sep
(6) |
Oct
(4) |
Nov
(1) |
Dec
|
---|
From: Henrique A. <hd...@gm...> - 2009-11-18 19:25:33
|
I can't work on the project any time soon. Source repository is still up. -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-10-07 16:08:28
|
Actually, there's a problem with amd64 implementation. 2009/10/7 Henrique Almeida <hd...@gm...>: > Next functions are rewind() and fseek(). > > 2009/10/7 Henrique Almeida <hd...@gm...>: >> Fixed signal() for FreeBSD. I'll choose another function to implement. >> >> 2009/10/6 Henrique Almeida <hd...@gm...>: >>> signal() implementation for FreeBSD is still bugged. I'll need some >>> time to find out what's happening. >>> >>> 2009/9/28 Henrique Almeida <hd...@gm...>: >>>> I've completed tests for signal() and linux implementation is finished. >>>> >>>> 2009/9/23 Henrique Almeida <hd...@gm...>: >>>>> Support for raise(), along with pthread_kill(), pthread_self() and >>>>> getpid() are available for linux. Now, I'll finish tests with >>>>> signal(), then move to another function. >>>>> >>>>> 2009/9/22 Henrique Almeida <hd...@gm...>: >>>>>> FreeBSD signal() is now working ok. Some tests are missing, so I'll >>>>>> start implementing raise() and kill(). >>>>>> >>>>>> 2009/9/14 Henrique Almeida <hd...@gm...>: >>>>>>> I'm back to work with libposix. A test for signal() on linux was >>>>>>> committed, please update your repositories and check that everything >>>>>>> is working fine. Let's resume implementing bzip2 support. >>>>>>> >>>>>>> -- >>>>>>> Henrique Dante de Almeida >>>>>>> hd...@gm... >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Henrique Dante de Almeida >>>>>> hd...@gm... >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Henrique Dante de Almeida >>>>> hd...@gm... >>>>> >>>> >>>> >>>> >>>> -- >>>> Henrique Dante de Almeida >>>> hd...@gm... >>>> >>> >>> >>> >>> -- >>> Henrique Dante de Almeida >>> hd...@gm... >>> >> >> >> >> -- >> Henrique Dante de Almeida >> hd...@gm... >> > > > > -- > Henrique Dante de Almeida > hd...@gm... > -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-10-07 13:54:50
|
Next functions are rewind() and fseek(). 2009/10/7 Henrique Almeida <hd...@gm...>: > Fixed signal() for FreeBSD. I'll choose another function to implement. > > 2009/10/6 Henrique Almeida <hd...@gm...>: >> signal() implementation for FreeBSD is still bugged. I'll need some >> time to find out what's happening. >> >> 2009/9/28 Henrique Almeida <hd...@gm...>: >>> I've completed tests for signal() and linux implementation is finished. >>> >>> 2009/9/23 Henrique Almeida <hd...@gm...>: >>>> Support for raise(), along with pthread_kill(), pthread_self() and >>>> getpid() are available for linux. Now, I'll finish tests with >>>> signal(), then move to another function. >>>> >>>> 2009/9/22 Henrique Almeida <hd...@gm...>: >>>>> FreeBSD signal() is now working ok. Some tests are missing, so I'll >>>>> start implementing raise() and kill(). >>>>> >>>>> 2009/9/14 Henrique Almeida <hd...@gm...>: >>>>>> I'm back to work with libposix. A test for signal() on linux was >>>>>> committed, please update your repositories and check that everything >>>>>> is working fine. Let's resume implementing bzip2 support. >>>>>> >>>>>> -- >>>>>> Henrique Dante de Almeida >>>>>> hd...@gm... >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Henrique Dante de Almeida >>>>> hd...@gm... >>>>> >>>> >>>> >>>> >>>> -- >>>> Henrique Dante de Almeida >>>> hd...@gm... >>>> >>> >>> >>> >>> -- >>> Henrique Dante de Almeida >>> hd...@gm... >>> >> >> >> >> -- >> Henrique Dante de Almeida >> hd...@gm... >> > > > > -- > Henrique Dante de Almeida > hd...@gm... > -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-10-07 13:48:25
|
Fixed signal() for FreeBSD. I'll choose another function to implement. 2009/10/6 Henrique Almeida <hd...@gm...>: > signal() implementation for FreeBSD is still bugged. I'll need some > time to find out what's happening. > > 2009/9/28 Henrique Almeida <hd...@gm...>: >> I've completed tests for signal() and linux implementation is finished. >> >> 2009/9/23 Henrique Almeida <hd...@gm...>: >>> Support for raise(), along with pthread_kill(), pthread_self() and >>> getpid() are available for linux. Now, I'll finish tests with >>> signal(), then move to another function. >>> >>> 2009/9/22 Henrique Almeida <hd...@gm...>: >>>> FreeBSD signal() is now working ok. Some tests are missing, so I'll >>>> start implementing raise() and kill(). >>>> >>>> 2009/9/14 Henrique Almeida <hd...@gm...>: >>>>> I'm back to work with libposix. A test for signal() on linux was >>>>> committed, please update your repositories and check that everything >>>>> is working fine. Let's resume implementing bzip2 support. >>>>> >>>>> -- >>>>> Henrique Dante de Almeida >>>>> hd...@gm... >>>>> >>>> >>>> >>>> >>>> -- >>>> Henrique Dante de Almeida >>>> hd...@gm... >>>> >>> >>> >>> >>> -- >>> Henrique Dante de Almeida >>> hd...@gm... >>> >> >> >> >> -- >> Henrique Dante de Almeida >> hd...@gm... >> > > > > -- > Henrique Dante de Almeida > hd...@gm... > -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-10-06 18:00:59
|
signal() implementation for FreeBSD is still bugged. I'll need some time to find out what's happening. 2009/9/28 Henrique Almeida <hd...@gm...>: > I've completed tests for signal() and linux implementation is finished. > > 2009/9/23 Henrique Almeida <hd...@gm...>: >> Support for raise(), along with pthread_kill(), pthread_self() and >> getpid() are available for linux. Now, I'll finish tests with >> signal(), then move to another function. >> >> 2009/9/22 Henrique Almeida <hd...@gm...>: >>> FreeBSD signal() is now working ok. Some tests are missing, so I'll >>> start implementing raise() and kill(). >>> >>> 2009/9/14 Henrique Almeida <hd...@gm...>: >>>> I'm back to work with libposix. A test for signal() on linux was >>>> committed, please update your repositories and check that everything >>>> is working fine. Let's resume implementing bzip2 support. >>>> >>>> -- >>>> Henrique Dante de Almeida >>>> hd...@gm... >>>> >>> >>> >>> >>> -- >>> Henrique Dante de Almeida >>> hd...@gm... >>> >> >> >> >> -- >> Henrique Dante de Almeida >> hd...@gm... >> > > > > -- > Henrique Dante de Almeida > hd...@gm... > -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-09-28 14:09:57
|
I've completed tests for signal() and linux implementation is finished. 2009/9/23 Henrique Almeida <hd...@gm...>: > Support for raise(), along with pthread_kill(), pthread_self() and > getpid() are available for linux. Now, I'll finish tests with > signal(), then move to another function. > > 2009/9/22 Henrique Almeida <hd...@gm...>: >> FreeBSD signal() is now working ok. Some tests are missing, so I'll >> start implementing raise() and kill(). >> >> 2009/9/14 Henrique Almeida <hd...@gm...>: >>> I'm back to work with libposix. A test for signal() on linux was >>> committed, please update your repositories and check that everything >>> is working fine. Let's resume implementing bzip2 support. >>> >>> -- >>> Henrique Dante de Almeida >>> hd...@gm... >>> >> >> >> >> -- >> Henrique Dante de Almeida >> hd...@gm... >> > > > > -- > Henrique Dante de Almeida > hd...@gm... > -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-09-23 14:46:25
|
Support for raise(), along with pthread_kill(), pthread_self() and getpid() are available for linux. Now, I'll finish tests with signal(), then move to another function. 2009/9/22 Henrique Almeida <hd...@gm...>: > FreeBSD signal() is now working ok. Some tests are missing, so I'll > start implementing raise() and kill(). > > 2009/9/14 Henrique Almeida <hd...@gm...>: >> I'm back to work with libposix. A test for signal() on linux was >> committed, please update your repositories and check that everything >> is working fine. Let's resume implementing bzip2 support. >> >> -- >> Henrique Dante de Almeida >> hd...@gm... >> > > > > -- > Henrique Dante de Almeida > hd...@gm... > -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-09-22 14:15:09
|
FreeBSD signal() is now working ok. Some tests are missing, so I'll start implementing raise() and kill(). 2009/9/14 Henrique Almeida <hd...@gm...>: > I'm back to work with libposix. A test for signal() on linux was > committed, please update your repositories and check that everything > is working fine. Let's resume implementing bzip2 support. > > -- > Henrique Dante de Almeida > hd...@gm... > -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-09-14 14:45:48
|
I'm back to work with libposix. A test for signal() on linux was committed, please update your repositories and check that everything is working fine. Let's resume implementing bzip2 support. -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-09-10 18:07:58
|
2009/9/10 John Haitas <jh...@gm...>: > Hey guys, > > I hope everyone is well. > > I just want to touch base. Commits to the code base have been > nonexistent over the past few weeks. > > What can we do to get the ball rolling again? Yes, I've been out of time for the last weeks, but I can resume development. I just need to organize things a little, maybe I can restart work on Monday. > > Cheers, > John > > -- > John Haitas > jh...@gm... > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Libposix-development mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libposix-development > -- Henrique Dante de Almeida hd...@gm... |
From: John H. <jh...@gm...> - 2009-09-10 05:43:05
|
Hey guys, I hope everyone is well. I just want to touch base. Commits to the code base have been nonexistent over the past few weeks. What can we do to get the ball rolling again? Cheers, John -- John Haitas jh...@gm... |
From: Henrique A. <hd...@gm...> - 2009-08-19 20:18:23
|
Sourceforge git repositories have changed from: ssh://<user>@libposix.git.sourceforge.net/gitroot/libposix To: ssh://<user>@libposix.git.sourceforge.net/gitroot/libposix/libposix Remote tracking paths should be updated, or simply deleting the local repository and reexecuting git clone will do the job. -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-08-19 20:14:31
|
Fixed for x86_64. 2009/8/19 Henrique Almeida <hd...@gm...>: > I forgot to add syscall4 in x86_64. I'll see what I can do later. > > 2009/8/19 <jh...@gm...>: >> >> >> >> ---------- Forwarded message ---------- >> From: Launchpad Buildd System <no...@la...> >> Date: Tue, Aug 18, 2009 at 10:10 PM >> Subject: [Build #1170755] amd64 build of libposix >> 0.0.3+git20090818.1333.a449d94 in ubuntu karmic RELEASE (libposix-team PPA) >> To: jh...@gm... >> >> >> >> * Source Package: libposix >> * Version: 0.0.3+git20090818.1333.a449d94 >> * Architecture: amd64 >> * Archive: libposix-team PPA >> * Component: main >> * State: Failed to build >> * Duration: two minutes >> * Build Log: >> https://launchpad.net/~libposix-team/+archive/ppa/+build/1170755/+files/buildlog_ubuntu-karmic-amd64.libposix_0.0.3+git20090818.1333.a449d94_FAILEDTOBUILD.txt.gz >> * Builder: https://launchpad.net/builders/osmium >> * Source: not available >> >> >> >> If you want further information about this situation, feel free to >> contact a member of the Launchpad Buildd Administrators team. >> >> -- >> amd64 build of libposix 0.0.3+git20090818.1333.a449d94 in ubuntu karmic >> RELEASE >> https://launchpad.net/~libposix-team/+archive/ppa/+build/1170755 >> >> >> >> -- >> John Haitas >> jh...@gm... >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Libposix-development mailing list >> Lib...@li... >> https://lists.sourceforge.net/lists/listinfo/libposix-development >> >> > > > > -- > Henrique Dante de Almeida > hd...@gm... > -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-08-19 13:50:48
|
I forgot to add syscall4 in x86_64. I'll see what I can do later. 2009/8/19 <jh...@gm...>: > > > > ---------- Forwarded message ---------- > From: Launchpad Buildd System <no...@la...> > Date: Tue, Aug 18, 2009 at 10:10 PM > Subject: [Build #1170755] amd64 build of libposix > 0.0.3+git20090818.1333.a449d94 in ubuntu karmic RELEASE (libposix-team PPA) > To: jh...@gm... > > > > * Source Package: libposix > * Version: 0.0.3+git20090818.1333.a449d94 > * Architecture: amd64 > * Archive: libposix-team PPA > * Component: main > * State: Failed to build > * Duration: two minutes > * Build Log: > https://launchpad.net/~libposix-team/+archive/ppa/+build/1170755/+files/buildlog_ubuntu-karmic-amd64.libposix_0.0.3+git20090818.1333.a449d94_FAILEDTOBUILD.txt.gz > * Builder: https://launchpad.net/builders/osmium > * Source: not available > > > > If you want further information about this situation, feel free to > contact a member of the Launchpad Buildd Administrators team. > > -- > amd64 build of libposix 0.0.3+git20090818.1333.a449d94 in ubuntu karmic > RELEASE > https://launchpad.net/~libposix-team/+archive/ppa/+build/1170755 > > > > -- > John Haitas > jh...@gm... > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Libposix-development mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libposix-development > > -- Henrique Dante de Almeida hd...@gm... |
From: <jh...@gm...> - 2009-08-19 04:48:32
|
---------- Forwarded message ---------- From: Launchpad Buildd System <no...@la...> Date: Tue, Aug 18, 2009 at 10:10 PM Subject: [Build #1170755] amd64 build of libposix 0.0.3+git20090818.1333.a449d94 in ubuntu karmic RELEASE (libposix-team PPA) To: jh...@gm... * Source Package: libposix * Version: 0.0.3+git20090818.1333.a449d94 * Architecture: amd64 * Archive: libposix-team PPA * Component: main * State: Failed to build * Duration: two minutes * Build Log: https://launchpad.net/~libposix-team/+archive/ppa/+build/1170755/+files/buildlog_ubuntu-karmic-amd64.libposix_0.0.3+git20090818.1333.a449d94_FAILEDTOBUILD.txt.gz * Builder: https://launchpad.net/builders/osmium * Source: not available If you want further information about this situation, feel free to contact a member of the Launchpad Buildd Administrators team. -- amd64 build of libposix 0.0.3+git20090818.1333.a449d94 in ubuntu karmic RELEASE https://launchpad.net/~libposix-team/+archive/ppa/+build/1170755 -- John Haitas jh...@gm... |
From: Henrique A. <hd...@gm...> - 2009-08-18 18:35:23
|
The initial implementation for linux's signal() is up. It's not tested yet. 2009/8/4 Henrique Almeida <hd...@gm...>: > 2009/8/4 Henrique Almeida <hd...@gm...>: >> The following functions still need to be implemented: >> - signal > > I've started implementing signal(). > >> - rewind >> - stat >> - getenv >> - fchown >> - fopen >> - perror >> - ungetc >> - fdopen >> - lstat >> - isatty >> - fclose >> - utime >> - fgetc >> - fread >> - ferror >> - fchmod >> >> 2009/8/2 John Haitas <jh...@gm...>: >>> $ readelf --relocs /bin/bzip2 | awk '{print $5}' >>> >>> offset >>> Sym. >>> __gmon_start__ >>> stderr >>> stdin >>> stdout >>> >>> offset >>> Sym. >>> fileno >>> __errno_location >>> strerror >>> open64 >>> __fprintf_chk >>> signal >>> __gmon_start__ >>> rewind >>> __xstat64 >>> BZ2_bzReadGetUnused >>> getenv >>> strncpy >>> fchown >>> fopen64 >>> __libc_start_main >>> BZ2_bzRead >>> perror >>> __strcat_chk >>> ungetc >>> fdopen >>> free >>> __lxstat64 >>> fflush >>> __ctype_b_loc >>> isatty >>> fclose >>> BZ2_bzWriteOpen >>> utime >>> strlen >>> BZ2_bzReadOpen >>> fgetc >>> strcpy >>> BZ2_bzWriteClose64 >>> close >>> fwrite >>> strstr >>> remove >>> malloc >>> __stack_chk_fail >>> strncmp >>> fread >>> ferror >>> strcmp >>> exit >>> fchmod >>> BZ2_bzWrite >>> BZ2_bzlibVersion >>> BZ2_bzReadClose >>> >>> >>> On Sun, Aug 2, 2009 at 4:10 PM, Henrique Almeida<hd...@gm...> wrote: >>>> Implement all the required functions. Do a readelf --relocs >>>> /bin/bzip2 to see what it needs. >>>> >>>> >>>> >>>> 2009/8/2 John Haitas <jh...@gm...>: >>>>> What do we need to do to get bzip2 to build? >>>>> >>>>> On Sat, Aug 1, 2009 at 5:14 PM, John Haitas<jh...@gm...> wrote: >>>>>> Great work Henrique! >>>>>> >>>>>> >>>>>> On Sat, Aug 1, 2009 at 1:20 PM, Henrique Almeida<hd...@gm...> wrote: >>>>>>> Fixed for x86_64 too, which means that we have a malloc. :-D >>>>>>> >>>>>>> 2009/8/1 Henrique Almeida <hd...@gm...>: >>>>>>>> Simple test is working perfectly on linux and freebsd x86. :-) >>>>>>>> >>>>>>>> 2009/8/1 Henrique Almeida <hd...@gm...>: >>>>>>>>> I've fixed compilation in all platforms. Tests are still missing. >>>>>>>>> >>>>>>>>> 2009/8/1 John Haitas <jh...@gm...>: >>>>>>>>>> it seems as if mmap isn't defined for 64bit >>>>>>>>>> >>>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In function ‘mmap’: >>>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>>>>>> ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>>>>>> (Each undeclared identifier is reported only once >>>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>>>>>> for each function it appears in.) >>>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:64: >>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In >>>>>>>>>> function ‘system_open’: >>>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:75: >>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:76: >>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Sat, Aug 1, 2009 at 1:15 AM, <jh...@gm...> wrote: >>>>>>>>>>> its not building on 64bit linux... >>>>>>>>>>> >>>>>>>>>>> [ 55%] Building C object CMakeFiles/posix.dir/mandatory/printf_scanner.c.o >>>>>>>>>>> [ 58%] Building C object CMakeFiles/posix.dir/system/linux/system_calls.c.o >>>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>>>>> In function ‘write’: >>>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:38: >>>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>>>>> In function ‘_Exit’: >>>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:44: >>>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>>>>> In function ‘mmap’: >>>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>>>>>> error: ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>>>>>> error: (Each undeclared identifier is reported only once >>>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>>>>>> error: for each function it appears in.) >>>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:64: >>>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>>>>> In function ‘system_open’: >>>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:75: >>>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:76: >>>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>>> make[3]: *** [CMakeFiles/posix.dir/system/linux/system_calls.c.o] Error 1 >>>>>>>>>>> make[3]: Leaving directory >>>>>>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>>>>>> make[2]: *** [CMakeFiles/posix.dir/all] Error 2 >>>>>>>>>>> make[2]: Leaving directory >>>>>>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>>>>>> make[1]: *** [all] Error 2 >>>>>>>>>>> make[1]: Leaving directory >>>>>>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>>>>>> make: *** [build] Error 2 >>>>>>>>>>> dpkg-buildpackage: failure: debian/rules build gave error exit status 2 >>>>>>>>>>> bzr: ERROR: The build failed. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Fri, Jul 31, 2009 at 9:00 PM, Henrique Almeida<hd...@gm...> wrote: >>>>>>>>>>>> >>>>>>>>>>>> I've fixed the compilation for x86 and included mmap (I've changed >>>>>>>>>>>> the sbrk call to mmap). I don't know yet if it compiles under other >>>>>>>>>>>> platforms and I haven't tested on any platform, so expect crashes. >>>>>>>>>>>> >>>>>>>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>>>>>>> >>>>>>>>>>>>> The current HEAD doesn't build... My fault... >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Fri, Jul 31, 2009 at 3:24 PM, <jh...@gm...> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>> There is one error. Search for sbrk >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Fri, Jul 31, 2009 at 2:10 PM, Henrique Almeida<hd...@gm...> >>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Yes, that would be a good start. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I could get us started by implementing the version of malloc taught in >>>>>>>>>>>>>>>> K&R >>>>>>>>>>>>>>>> C. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Just an thought... >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Fri, Jul 31, 2009 at 11:29 AM, Henrique Almeida<hd...@gm...> >>>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> I've spent too much time studying dlmalloc and there are still many >>>>>>>>>>>>>>>>> details that I don't understand. I'm considering trying alternative >>>>>>>>>>>>>>>>> implementations. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> 2009/7/22 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> I'm thinking about reimplementing Doug Lea's malloc for libposix, >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> least while we don't have threading support. I'm currently studying >>>>>>>>>>>>>>>>>> his implementation. malloc is an important function that we're >>>>>>>>>>>>>>>>>> missing. >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> 2009/7/16 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> 2009/7/16 Chris Forbes <ch...@fa...>: >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> I think I've finally got git figured out (unwiring my brain from >>>>>>>>>>>>>>>>>>>> using >>>>>>>>>>>>>>>>>>>> SVN :(), >>>>>>>>>>>>>>>>>>>> so I'll do some of the other functions for bzip2 after work. >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> I have to write a git howto for the project, but I won't have time >>>>>>>>>>>>>>>>>>> in >>>>>>>>>>>>>>>>>>> the next weeks. The task is at TaskFreak site. Basically, git has >>>>>>>>>>>>>>>>>>> two >>>>>>>>>>>>>>>>>>> main differences from svn (that make things look complicated), >>>>>>>>>>>>>>>>>>> which >>>>>>>>>>>>>>>>>>> are multiple repositories (as a natural part of the development) >>>>>>>>>>>>>>>>>>> and >>>>>>>>>>>>>>>>>>> somewhat different terminology. So, to work with git you first need >>>>>>>>>>>>>>>>>>> to >>>>>>>>>>>>>>>>>>> recreate your own repository. Then you'll work by commiting >>>>>>>>>>>>>>>>>>> frequently >>>>>>>>>>>>>>>>>>> to your local repository. When the code is in a usable state for >>>>>>>>>>>>>>>>>>> everyone, you merge your repository with SF repository. The >>>>>>>>>>>>>>>>>>> commands >>>>>>>>>>>>>>>>>>> are the following: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> # Create a full local clone of the remote repository (and setup >>>>>>>>>>>>>>>>>>> remote >>>>>>>>>>>>>>>>>>> merges) >>>>>>>>>>>>>>>>>>> git clone >>>>>>>>>>>>>>>>>>> ssh://hd...@li.../gitroot/libposix >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> # Merge the remote repository in your local repository >>>>>>>>>>>>>>>>>>> git pull >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> # Merge the remote repository (other than SF) in your local >>>>>>>>>>>>>>>>>>> repository >>>>>>>>>>>>>>>>>>> git pull http://remote.repository.com/ >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> # Edit code >>>>>>>>>>>>>>>>>>> editor source1 source2 source3 (git is not used) >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> # View list of changed files >>>>>>>>>>>>>>>>>>> git status >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> # View code changes >>>>>>>>>>>>>>>>>>> git diff >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> # Add files to commit >>>>>>>>>>>>>>>>>>> git add source1/dir1 >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> # Remove files >>>>>>>>>>>>>>>>>>> git rm source1 >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> # Move files >>>>>>>>>>>>>>>>>>> git mv source1 dest1 >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> # View code changes that were marked as added to commit (with git >>>>>>>>>>>>>>>>>>> add) >>>>>>>>>>>>>>>>>>> git diff HEAD >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> # Commit (to the local repository) >>>>>>>>>>>>>>>>>>> git commit >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> # View the commit log >>>>>>>>>>>>>>>>>>> git log >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> # Merge the local repository to the remote repository (upload code >>>>>>>>>>>>>>>>>>> to >>>>>>>>>>>>>>>>>>> SF) >>>>>>>>>>>>>>>>>>> git push >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> -- Chris >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> -----Original Message----- >>>>>>>>>>>>>>>>>>>> From: Henrique Almeida [mailto:hd...@gm...] >>>>>>>>>>>>>>>>>>>> Sent: Thursday, 16 July 2009 3:18 p.m. >>>>>>>>>>>>>>>>>>>> To: lib...@li... >>>>>>>>>>>>>>>>>>>> Subject: [libposix-development] bzip2 >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> I've started implementing functions required by bzip2. I'm trying >>>>>>>>>>>>>>>>>>>> to >>>>>>>>>>>>>>>>>>>> implement them as simple as possible, with only the functionality >>>>>>>>>>>>>>>>>>>> required by bzip2. Example functions are fileno() and strerror(). >>>>>>>>>>>>>>>>>>>> I'll >>>>>>>>>>>>>>>>>>>> begin to implement open() in the next days. >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------ >>>>>>>>>>>>>>>>>>>> ------ >>>>>>>>>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>>>>>>>>> time, >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>>>>>>>>> will >>>>>>>>>>>>>>>>>>>> have >>>>>>>>>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>>>>>>>>> full >>>>>>>>>>>>>>>>>>>> prize >>>>>>>>>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>>>>>>>>> time, >>>>>>>>>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>>>>>>>>> will >>>>>>>>>>>>>>>>>>>> have >>>>>>>>>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>>>>>>>>> full >>>>>>>>>>>>>>>>>>>> prize >>>>>>>>>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>>>>>>> 30-Day >>>>>>>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>>>>>>> focus >>>>>>>>>>>>>>>>> on >>>>>>>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> John Haitas >>>>>>>>>>>>>>>> jh...@gm... >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>>>>>> 30-Day >>>>>>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>>>>>> focus >>>>>>>>>>>>>>>> on >>>>>>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>>>>> 30-Day >>>>>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>>>>> focus >>>>>>>>>>>>>>> on >>>>>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> John Haitas >>>>>>>>>>>>>> jh...@gm... >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> John Haitas >>>>>>>>>>>>> jh...@gm... >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>>> 30-Day >>>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>>> focus >>>>>>>>>>>>> on >>>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>> hd...@gm... >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>> 30-Day >>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and focus >>>>>>>>>>>> on >>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>> Lib...@li... >>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> John Haitas >>>>>>>>>>> jh...@gm... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> John Haitas >>>>>>>>>> jh...@gm... >>>>>>>>>> >>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>>>>>>>> trial. Simplify your report design, integration and deployment - and focus on >>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>> _______________________________________________ >>>>>>>>>> Libposix-development mailing list >>>>>>>>>> Lib...@li... >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Henrique Dante de Almeida >>>>>>>>> hd...@gm... >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Henrique Dante de Almeida >>>>>>>> hd...@gm... >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Henrique Dante de Almeida >>>>>>> hd...@gm... >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>>>>> trial. Simplify your report design, integration and deployment - and focus on >>>>>>> what you do best, core application coding. Discover what's new with >>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>> _______________________________________________ >>>>>>> Libposix-development mailing list >>>>>>> Lib...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> John Haitas >>>>>> jh...@gm... >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> John Haitas >>>>> jh...@gm... >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>>> trial. Simplify your report design, integration and deployment - and focus on >>>>> what you do best, core application coding. Discover what's new with >>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>> _______________________________________________ >>>>> Libposix-development mailing list >>>>> Lib...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>> >>>> >>>> >>>> >>>> -- >>>> Henrique Dante de Almeida >>>> hd...@gm... >>>> >>>> ------------------------------------------------------------------------------ >>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>> trial. Simplify your report design, integration and deployment - and focus on >>>> what you do best, core application coding. Discover what's new with >>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>> _______________________________________________ >>>> Libposix-development mailing list >>>> Lib...@li... >>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>> >>> >>> >>> >>> -- >>> John Haitas >>> jh...@gm... >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Libposix-development mailing list >>> Lib...@li... >>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>> >> >> >> >> -- >> Henrique Dante de Almeida >> hd...@gm... >> > > > > -- > Henrique Dante de Almeida > hd...@gm... > -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-08-04 21:32:07
|
2009/8/4 Henrique Almeida <hd...@gm...>: > The following functions still need to be implemented: > - signal I've started implementing signal(). > - rewind > - stat > - getenv > - fchown > - fopen > - perror > - ungetc > - fdopen > - lstat > - isatty > - fclose > - utime > - fgetc > - fread > - ferror > - fchmod > > 2009/8/2 John Haitas <jh...@gm...>: >> $ readelf --relocs /bin/bzip2 | awk '{print $5}' >> >> offset >> Sym. >> __gmon_start__ >> stderr >> stdin >> stdout >> >> offset >> Sym. >> fileno >> __errno_location >> strerror >> open64 >> __fprintf_chk >> signal >> __gmon_start__ >> rewind >> __xstat64 >> BZ2_bzReadGetUnused >> getenv >> strncpy >> fchown >> fopen64 >> __libc_start_main >> BZ2_bzRead >> perror >> __strcat_chk >> ungetc >> fdopen >> free >> __lxstat64 >> fflush >> __ctype_b_loc >> isatty >> fclose >> BZ2_bzWriteOpen >> utime >> strlen >> BZ2_bzReadOpen >> fgetc >> strcpy >> BZ2_bzWriteClose64 >> close >> fwrite >> strstr >> remove >> malloc >> __stack_chk_fail >> strncmp >> fread >> ferror >> strcmp >> exit >> fchmod >> BZ2_bzWrite >> BZ2_bzlibVersion >> BZ2_bzReadClose >> >> >> On Sun, Aug 2, 2009 at 4:10 PM, Henrique Almeida<hd...@gm...> wrote: >>> Implement all the required functions. Do a readelf --relocs >>> /bin/bzip2 to see what it needs. >>> >>> >>> >>> 2009/8/2 John Haitas <jh...@gm...>: >>>> What do we need to do to get bzip2 to build? >>>> >>>> On Sat, Aug 1, 2009 at 5:14 PM, John Haitas<jh...@gm...> wrote: >>>>> Great work Henrique! >>>>> >>>>> >>>>> On Sat, Aug 1, 2009 at 1:20 PM, Henrique Almeida<hd...@gm...> wrote: >>>>>> Fixed for x86_64 too, which means that we have a malloc. :-D >>>>>> >>>>>> 2009/8/1 Henrique Almeida <hd...@gm...>: >>>>>>> Simple test is working perfectly on linux and freebsd x86. :-) >>>>>>> >>>>>>> 2009/8/1 Henrique Almeida <hd...@gm...>: >>>>>>>> I've fixed compilation in all platforms. Tests are still missing. >>>>>>>> >>>>>>>> 2009/8/1 John Haitas <jh...@gm...>: >>>>>>>>> it seems as if mmap isn't defined for 64bit >>>>>>>>> >>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In function ‘mmap’: >>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>>>>> ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>>>>> (Each undeclared identifier is reported only once >>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>>>>> for each function it appears in.) >>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:64: >>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In >>>>>>>>> function ‘system_open’: >>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:75: >>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:76: >>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>> >>>>>>>>> >>>>>>>>> On Sat, Aug 1, 2009 at 1:15 AM, <jh...@gm...> wrote: >>>>>>>>>> its not building on 64bit linux... >>>>>>>>>> >>>>>>>>>> [ 55%] Building C object CMakeFiles/posix.dir/mandatory/printf_scanner.c.o >>>>>>>>>> [ 58%] Building C object CMakeFiles/posix.dir/system/linux/system_calls.c.o >>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>>>> In function ‘write’: >>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:38: >>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>>>> In function ‘_Exit’: >>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:44: >>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>>>> In function ‘mmap’: >>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>>>>> error: ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>>>>> error: (Each undeclared identifier is reported only once >>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>>>>> error: for each function it appears in.) >>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:64: >>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>>>> In function ‘system_open’: >>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:75: >>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:76: >>>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>>> make[3]: *** [CMakeFiles/posix.dir/system/linux/system_calls.c.o] Error 1 >>>>>>>>>> make[3]: Leaving directory >>>>>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>>>>> make[2]: *** [CMakeFiles/posix.dir/all] Error 2 >>>>>>>>>> make[2]: Leaving directory >>>>>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>>>>> make[1]: *** [all] Error 2 >>>>>>>>>> make[1]: Leaving directory >>>>>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>>>>> make: *** [build] Error 2 >>>>>>>>>> dpkg-buildpackage: failure: debian/rules build gave error exit status 2 >>>>>>>>>> bzr: ERROR: The build failed. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Fri, Jul 31, 2009 at 9:00 PM, Henrique Almeida<hd...@gm...> wrote: >>>>>>>>>>> >>>>>>>>>>> I've fixed the compilation for x86 and included mmap (I've changed >>>>>>>>>>> the sbrk call to mmap). I don't know yet if it compiles under other >>>>>>>>>>> platforms and I haven't tested on any platform, so expect crashes. >>>>>>>>>>> >>>>>>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>>>>>> >>>>>>>>>>>> The current HEAD doesn't build... My fault... >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Fri, Jul 31, 2009 at 3:24 PM, <jh...@gm...> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> There is one error. Search for sbrk >>>>>>>>>>>>> >>>>>>>>>>>>> On Fri, Jul 31, 2009 at 2:10 PM, Henrique Almeida<hd...@gm...> >>>>>>>>>>>>> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>> Yes, that would be a good start. >>>>>>>>>>>>>> >>>>>>>>>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I could get us started by implementing the version of malloc taught in >>>>>>>>>>>>>>> K&R >>>>>>>>>>>>>>> C. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Just an thought... >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Fri, Jul 31, 2009 at 11:29 AM, Henrique Almeida<hd...@gm...> >>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I've spent too much time studying dlmalloc and there are still many >>>>>>>>>>>>>>>> details that I don't understand. I'm considering trying alternative >>>>>>>>>>>>>>>> implementations. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> 2009/7/22 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> I'm thinking about reimplementing Doug Lea's malloc for libposix, >>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>> least while we don't have threading support. I'm currently studying >>>>>>>>>>>>>>>>> his implementation. malloc is an important function that we're >>>>>>>>>>>>>>>>> missing. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> 2009/7/16 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> 2009/7/16 Chris Forbes <ch...@fa...>: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> I think I've finally got git figured out (unwiring my brain from >>>>>>>>>>>>>>>>>>> using >>>>>>>>>>>>>>>>>>> SVN :(), >>>>>>>>>>>>>>>>>>> so I'll do some of the other functions for bzip2 after work. >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> I have to write a git howto for the project, but I won't have time >>>>>>>>>>>>>>>>>> in >>>>>>>>>>>>>>>>>> the next weeks. The task is at TaskFreak site. Basically, git has >>>>>>>>>>>>>>>>>> two >>>>>>>>>>>>>>>>>> main differences from svn (that make things look complicated), >>>>>>>>>>>>>>>>>> which >>>>>>>>>>>>>>>>>> are multiple repositories (as a natural part of the development) >>>>>>>>>>>>>>>>>> and >>>>>>>>>>>>>>>>>> somewhat different terminology. So, to work with git you first need >>>>>>>>>>>>>>>>>> to >>>>>>>>>>>>>>>>>> recreate your own repository. Then you'll work by commiting >>>>>>>>>>>>>>>>>> frequently >>>>>>>>>>>>>>>>>> to your local repository. When the code is in a usable state for >>>>>>>>>>>>>>>>>> everyone, you merge your repository with SF repository. The >>>>>>>>>>>>>>>>>> commands >>>>>>>>>>>>>>>>>> are the following: >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> # Create a full local clone of the remote repository (and setup >>>>>>>>>>>>>>>>>> remote >>>>>>>>>>>>>>>>>> merges) >>>>>>>>>>>>>>>>>> git clone >>>>>>>>>>>>>>>>>> ssh://hd...@li.../gitroot/libposix >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> # Merge the remote repository in your local repository >>>>>>>>>>>>>>>>>> git pull >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> # Merge the remote repository (other than SF) in your local >>>>>>>>>>>>>>>>>> repository >>>>>>>>>>>>>>>>>> git pull http://remote.repository.com/ >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> # Edit code >>>>>>>>>>>>>>>>>> editor source1 source2 source3 (git is not used) >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> # View list of changed files >>>>>>>>>>>>>>>>>> git status >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> # View code changes >>>>>>>>>>>>>>>>>> git diff >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> # Add files to commit >>>>>>>>>>>>>>>>>> git add source1/dir1 >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> # Remove files >>>>>>>>>>>>>>>>>> git rm source1 >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> # Move files >>>>>>>>>>>>>>>>>> git mv source1 dest1 >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> # View code changes that were marked as added to commit (with git >>>>>>>>>>>>>>>>>> add) >>>>>>>>>>>>>>>>>> git diff HEAD >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> # Commit (to the local repository) >>>>>>>>>>>>>>>>>> git commit >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> # View the commit log >>>>>>>>>>>>>>>>>> git log >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> # Merge the local repository to the remote repository (upload code >>>>>>>>>>>>>>>>>> to >>>>>>>>>>>>>>>>>> SF) >>>>>>>>>>>>>>>>>> git push >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> -- Chris >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> -----Original Message----- >>>>>>>>>>>>>>>>>>> From: Henrique Almeida [mailto:hd...@gm...] >>>>>>>>>>>>>>>>>>> Sent: Thursday, 16 July 2009 3:18 p.m. >>>>>>>>>>>>>>>>>>> To: lib...@li... >>>>>>>>>>>>>>>>>>> Subject: [libposix-development] bzip2 >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> I've started implementing functions required by bzip2. I'm trying >>>>>>>>>>>>>>>>>>> to >>>>>>>>>>>>>>>>>>> implement them as simple as possible, with only the functionality >>>>>>>>>>>>>>>>>>> required by bzip2. Example functions are fileno() and strerror(). >>>>>>>>>>>>>>>>>>> I'll >>>>>>>>>>>>>>>>>>> begin to implement open() in the next days. >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------ >>>>>>>>>>>>>>>>>>> ------ >>>>>>>>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>>>>>>>> time, >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>>>>>>>> will >>>>>>>>>>>>>>>>>>> have >>>>>>>>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>>>>>>>> full >>>>>>>>>>>>>>>>>>> prize >>>>>>>>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>>>>>>>> time, >>>>>>>>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>>>>>>>> will >>>>>>>>>>>>>>>>>>> have >>>>>>>>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>>>>>>>> full >>>>>>>>>>>>>>>>>>> prize >>>>>>>>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>>>>>> 30-Day >>>>>>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>>>>>> focus >>>>>>>>>>>>>>>> on >>>>>>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> John Haitas >>>>>>>>>>>>>>> jh...@gm... >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>>>>> 30-Day >>>>>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>>>>> focus >>>>>>>>>>>>>>> on >>>>>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>>>> 30-Day >>>>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>>>> focus >>>>>>>>>>>>>> on >>>>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> John Haitas >>>>>>>>>>>>> jh...@gm... >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> John Haitas >>>>>>>>>>>> jh...@gm... >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>> 30-Day >>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>> focus >>>>>>>>>>>> on >>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>> Lib...@li... >>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>> hd...@gm... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>> 30-Day >>>>>>>>>>> trial. Simplify your report design, integration and deployment - and focus >>>>>>>>>>> on >>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>> Lib...@li... >>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> John Haitas >>>>>>>>>> jh...@gm... >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> John Haitas >>>>>>>>> jh...@gm... >>>>>>>>> >>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>>>>>>> trial. Simplify your report design, integration and deployment - and focus on >>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>> _______________________________________________ >>>>>>>>> Libposix-development mailing list >>>>>>>>> Lib...@li... >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Henrique Dante de Almeida >>>>>>>> hd...@gm... >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Henrique Dante de Almeida >>>>>>> hd...@gm... >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Henrique Dante de Almeida >>>>>> hd...@gm... >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>>>> trial. Simplify your report design, integration and deployment - and focus on >>>>>> what you do best, core application coding. Discover what's new with >>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>> _______________________________________________ >>>>>> Libposix-development mailing list >>>>>> Lib...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> John Haitas >>>>> jh...@gm... >>>>> >>>> >>>> >>>> >>>> -- >>>> John Haitas >>>> jh...@gm... >>>> >>>> ------------------------------------------------------------------------------ >>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>> trial. Simplify your report design, integration and deployment - and focus on >>>> what you do best, core application coding. Discover what's new with >>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>> _______________________________________________ >>>> Libposix-development mailing list >>>> Lib...@li... >>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>> >>> >>> >>> >>> -- >>> Henrique Dante de Almeida >>> hd...@gm... >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Libposix-development mailing list >>> Lib...@li... >>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>> >> >> >> >> -- >> John Haitas >> jh...@gm... >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Libposix-development mailing list >> Lib...@li... >> https://lists.sourceforge.net/lists/listinfo/libposix-development >> > > > > -- > Henrique Dante de Almeida > hd...@gm... > -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-08-04 20:26:16
|
The following functions still need to be implemented: - signal - rewind - stat - getenv - fchown - fopen - perror - ungetc - fdopen - lstat - isatty - fclose - utime - fgetc - fread - ferror - fchmod 2009/8/2 John Haitas <jh...@gm...>: > $ readelf --relocs /bin/bzip2 | awk '{print $5}' > > offset > Sym. > __gmon_start__ > stderr > stdin > stdout > > offset > Sym. > fileno > __errno_location > strerror > open64 > __fprintf_chk > signal > __gmon_start__ > rewind > __xstat64 > BZ2_bzReadGetUnused > getenv > strncpy > fchown > fopen64 > __libc_start_main > BZ2_bzRead > perror > __strcat_chk > ungetc > fdopen > free > __lxstat64 > fflush > __ctype_b_loc > isatty > fclose > BZ2_bzWriteOpen > utime > strlen > BZ2_bzReadOpen > fgetc > strcpy > BZ2_bzWriteClose64 > close > fwrite > strstr > remove > malloc > __stack_chk_fail > strncmp > fread > ferror > strcmp > exit > fchmod > BZ2_bzWrite > BZ2_bzlibVersion > BZ2_bzReadClose > > > On Sun, Aug 2, 2009 at 4:10 PM, Henrique Almeida<hd...@gm...> wrote: >> Implement all the required functions. Do a readelf --relocs >> /bin/bzip2 to see what it needs. >> >> >> >> 2009/8/2 John Haitas <jh...@gm...>: >>> What do we need to do to get bzip2 to build? >>> >>> On Sat, Aug 1, 2009 at 5:14 PM, John Haitas<jh...@gm...> wrote: >>>> Great work Henrique! >>>> >>>> >>>> On Sat, Aug 1, 2009 at 1:20 PM, Henrique Almeida<hd...@gm...> wrote: >>>>> Fixed for x86_64 too, which means that we have a malloc. :-D >>>>> >>>>> 2009/8/1 Henrique Almeida <hd...@gm...>: >>>>>> Simple test is working perfectly on linux and freebsd x86. :-) >>>>>> >>>>>> 2009/8/1 Henrique Almeida <hd...@gm...>: >>>>>>> I've fixed compilation in all platforms. Tests are still missing. >>>>>>> >>>>>>> 2009/8/1 John Haitas <jh...@gm...>: >>>>>>>> it seems as if mmap isn't defined for 64bit >>>>>>>> >>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In function ‘mmap’: >>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>>>> ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>>>> (Each undeclared identifier is reported only once >>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>>>> for each function it appears in.) >>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>>>>>>> warning: cast to pointer from integer of different size >>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>>>>>>> warning: cast to pointer from integer of different size >>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:64: >>>>>>>> warning: cast to pointer from integer of different size >>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In >>>>>>>> function ‘system_open’: >>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:75: >>>>>>>> warning: cast to pointer from integer of different size >>>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:76: >>>>>>>> warning: cast to pointer from integer of different size >>>>>>>> >>>>>>>> >>>>>>>> On Sat, Aug 1, 2009 at 1:15 AM, <jh...@gm...> wrote: >>>>>>>>> its not building on 64bit linux... >>>>>>>>> >>>>>>>>> [ 55%] Building C object CMakeFiles/posix.dir/mandatory/printf_scanner.c.o >>>>>>>>> [ 58%] Building C object CMakeFiles/posix.dir/system/linux/system_calls.c.o >>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>>> In function ‘write’: >>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:38: >>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>>> In function ‘_Exit’: >>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:44: >>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>>> In function ‘mmap’: >>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>>>> error: ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>>>> error: (Each undeclared identifier is reported only once >>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>>>> error: for each function it appears in.) >>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:64: >>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>>> In function ‘system_open’: >>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:75: >>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:76: >>>>>>>>> warning: cast to pointer from integer of different size >>>>>>>>> make[3]: *** [CMakeFiles/posix.dir/system/linux/system_calls.c.o] Error 1 >>>>>>>>> make[3]: Leaving directory >>>>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>>>> make[2]: *** [CMakeFiles/posix.dir/all] Error 2 >>>>>>>>> make[2]: Leaving directory >>>>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>>>> make[1]: *** [all] Error 2 >>>>>>>>> make[1]: Leaving directory >>>>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>>>> make: *** [build] Error 2 >>>>>>>>> dpkg-buildpackage: failure: debian/rules build gave error exit status 2 >>>>>>>>> bzr: ERROR: The build failed. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Jul 31, 2009 at 9:00 PM, Henrique Almeida<hd...@gm...> wrote: >>>>>>>>>> >>>>>>>>>> I've fixed the compilation for x86 and included mmap (I've changed >>>>>>>>>> the sbrk call to mmap). I don't know yet if it compiles under other >>>>>>>>>> platforms and I haven't tested on any platform, so expect crashes. >>>>>>>>>> >>>>>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>>>>> >>>>>>>>>>> The current HEAD doesn't build... My fault... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Fri, Jul 31, 2009 at 3:24 PM, <jh...@gm...> wrote: >>>>>>>>>>>> >>>>>>>>>>>> There is one error. Search for sbrk >>>>>>>>>>>> >>>>>>>>>>>> On Fri, Jul 31, 2009 at 2:10 PM, Henrique Almeida<hd...@gm...> >>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> Yes, that would be a good start. >>>>>>>>>>>>> >>>>>>>>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>>>>>>>> >>>>>>>>>>>>>> I could get us started by implementing the version of malloc taught in >>>>>>>>>>>>>> K&R >>>>>>>>>>>>>> C. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Just an thought... >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Fri, Jul 31, 2009 at 11:29 AM, Henrique Almeida<hd...@gm...> >>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I've spent too much time studying dlmalloc and there are still many >>>>>>>>>>>>>>> details that I don't understand. I'm considering trying alternative >>>>>>>>>>>>>>> implementations. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 2009/7/22 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I'm thinking about reimplementing Doug Lea's malloc for libposix, >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> least while we don't have threading support. I'm currently studying >>>>>>>>>>>>>>>> his implementation. malloc is an important function that we're >>>>>>>>>>>>>>>> missing. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> 2009/7/16 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> 2009/7/16 Chris Forbes <ch...@fa...>: >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> I think I've finally got git figured out (unwiring my brain from >>>>>>>>>>>>>>>>>> using >>>>>>>>>>>>>>>>>> SVN :(), >>>>>>>>>>>>>>>>>> so I'll do some of the other functions for bzip2 after work. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> I have to write a git howto for the project, but I won't have time >>>>>>>>>>>>>>>>> in >>>>>>>>>>>>>>>>> the next weeks. The task is at TaskFreak site. Basically, git has >>>>>>>>>>>>>>>>> two >>>>>>>>>>>>>>>>> main differences from svn (that make things look complicated), >>>>>>>>>>>>>>>>> which >>>>>>>>>>>>>>>>> are multiple repositories (as a natural part of the development) >>>>>>>>>>>>>>>>> and >>>>>>>>>>>>>>>>> somewhat different terminology. So, to work with git you first need >>>>>>>>>>>>>>>>> to >>>>>>>>>>>>>>>>> recreate your own repository. Then you'll work by commiting >>>>>>>>>>>>>>>>> frequently >>>>>>>>>>>>>>>>> to your local repository. When the code is in a usable state for >>>>>>>>>>>>>>>>> everyone, you merge your repository with SF repository. The >>>>>>>>>>>>>>>>> commands >>>>>>>>>>>>>>>>> are the following: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # Create a full local clone of the remote repository (and setup >>>>>>>>>>>>>>>>> remote >>>>>>>>>>>>>>>>> merges) >>>>>>>>>>>>>>>>> git clone >>>>>>>>>>>>>>>>> ssh://hd...@li.../gitroot/libposix >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # Merge the remote repository in your local repository >>>>>>>>>>>>>>>>> git pull >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # Merge the remote repository (other than SF) in your local >>>>>>>>>>>>>>>>> repository >>>>>>>>>>>>>>>>> git pull http://remote.repository.com/ >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # Edit code >>>>>>>>>>>>>>>>> editor source1 source2 source3 (git is not used) >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # View list of changed files >>>>>>>>>>>>>>>>> git status >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # View code changes >>>>>>>>>>>>>>>>> git diff >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # Add files to commit >>>>>>>>>>>>>>>>> git add source1/dir1 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # Remove files >>>>>>>>>>>>>>>>> git rm source1 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # Move files >>>>>>>>>>>>>>>>> git mv source1 dest1 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # View code changes that were marked as added to commit (with git >>>>>>>>>>>>>>>>> add) >>>>>>>>>>>>>>>>> git diff HEAD >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # Commit (to the local repository) >>>>>>>>>>>>>>>>> git commit >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # View the commit log >>>>>>>>>>>>>>>>> git log >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # Merge the local repository to the remote repository (upload code >>>>>>>>>>>>>>>>> to >>>>>>>>>>>>>>>>> SF) >>>>>>>>>>>>>>>>> git push >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> -- Chris >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> -----Original Message----- >>>>>>>>>>>>>>>>>> From: Henrique Almeida [mailto:hd...@gm...] >>>>>>>>>>>>>>>>>> Sent: Thursday, 16 July 2009 3:18 p.m. >>>>>>>>>>>>>>>>>> To: lib...@li... >>>>>>>>>>>>>>>>>> Subject: [libposix-development] bzip2 >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> I've started implementing functions required by bzip2. I'm trying >>>>>>>>>>>>>>>>>> to >>>>>>>>>>>>>>>>>> implement them as simple as possible, with only the functionality >>>>>>>>>>>>>>>>>> required by bzip2. Example functions are fileno() and strerror(). >>>>>>>>>>>>>>>>>> I'll >>>>>>>>>>>>>>>>>> begin to implement open() in the next days. >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------ >>>>>>>>>>>>>>>>>> ------ >>>>>>>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>>>>>>> time, >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>>>>>>> will >>>>>>>>>>>>>>>>>> have >>>>>>>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>>>>>>> full >>>>>>>>>>>>>>>>>> prize >>>>>>>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>>>>>>> time, >>>>>>>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>>>>>>> will >>>>>>>>>>>>>>>>>> have >>>>>>>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>>>>>>> full >>>>>>>>>>>>>>>>>> prize >>>>>>>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>>>>> 30-Day >>>>>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>>>>> focus >>>>>>>>>>>>>>> on >>>>>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> John Haitas >>>>>>>>>>>>>> jh...@gm... >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>>>> 30-Day >>>>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>>>> focus >>>>>>>>>>>>>> on >>>>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>>> 30-Day >>>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>>> focus >>>>>>>>>>>>> on >>>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> John Haitas >>>>>>>>>>>> jh...@gm... >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> John Haitas >>>>>>>>>>> jh...@gm... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>> 30-Day >>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>> focus >>>>>>>>>>> on >>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>> Lib...@li... >>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>> hd...@gm... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>> 30-Day >>>>>>>>>> trial. Simplify your report design, integration and deployment - and focus >>>>>>>>>> on >>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>> _______________________________________________ >>>>>>>>>> Libposix-development mailing list >>>>>>>>>> Lib...@li... >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> John Haitas >>>>>>>>> jh...@gm... >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> John Haitas >>>>>>>> jh...@gm... >>>>>>>> >>>>>>>> ------------------------------------------------------------------------------ >>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>>>>>> trial. Simplify your report design, integration and deployment - and focus on >>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>> _______________________________________________ >>>>>>>> Libposix-development mailing list >>>>>>>> Lib...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Henrique Dante de Almeida >>>>>>> hd...@gm... >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Henrique Dante de Almeida >>>>>> hd...@gm... >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Henrique Dante de Almeida >>>>> hd...@gm... >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>>> trial. Simplify your report design, integration and deployment - and focus on >>>>> what you do best, core application coding. Discover what's new with >>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>> _______________________________________________ >>>>> Libposix-development mailing list >>>>> Lib...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>> >>>> >>>> >>>> >>>> -- >>>> John Haitas >>>> jh...@gm... >>>> >>> >>> >>> >>> -- >>> John Haitas >>> jh...@gm... >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Libposix-development mailing list >>> Lib...@li... >>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>> >> >> >> >> -- >> Henrique Dante de Almeida >> hd...@gm... >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Libposix-development mailing list >> Lib...@li... >> https://lists.sourceforge.net/lists/listinfo/libposix-development >> > > > > -- > John Haitas > jh...@gm... > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Libposix-development mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libposix-development > -- Henrique Dante de Almeida hd...@gm... |
From: John H. <jh...@gm...> - 2009-08-03 02:29:54
|
$ readelf --relocs /bin/bzip2 | awk '{print $5}' offset Sym. __gmon_start__ stderr stdin stdout offset Sym. fileno __errno_location strerror open64 __fprintf_chk signal __gmon_start__ rewind __xstat64 BZ2_bzReadGetUnused getenv strncpy fchown fopen64 __libc_start_main BZ2_bzRead perror __strcat_chk ungetc fdopen free __lxstat64 fflush __ctype_b_loc isatty fclose BZ2_bzWriteOpen utime strlen BZ2_bzReadOpen fgetc strcpy BZ2_bzWriteClose64 close fwrite strstr remove malloc __stack_chk_fail strncmp fread ferror strcmp exit fchmod BZ2_bzWrite BZ2_bzlibVersion BZ2_bzReadClose On Sun, Aug 2, 2009 at 4:10 PM, Henrique Almeida<hd...@gm...> wrote: > Implement all the required functions. Do a readelf --relocs > /bin/bzip2 to see what it needs. > > > > 2009/8/2 John Haitas <jh...@gm...>: >> What do we need to do to get bzip2 to build? >> >> On Sat, Aug 1, 2009 at 5:14 PM, John Haitas<jh...@gm...> wrote: >>> Great work Henrique! >>> >>> >>> On Sat, Aug 1, 2009 at 1:20 PM, Henrique Almeida<hd...@gm...> wrote: >>>> Fixed for x86_64 too, which means that we have a malloc. :-D >>>> >>>> 2009/8/1 Henrique Almeida <hd...@gm...>: >>>>> Simple test is working perfectly on linux and freebsd x86. :-) >>>>> >>>>> 2009/8/1 Henrique Almeida <hd...@gm...>: >>>>>> I've fixed compilation in all platforms. Tests are still missing. >>>>>> >>>>>> 2009/8/1 John Haitas <jh...@gm...>: >>>>>>> it seems as if mmap isn't defined for 64bit >>>>>>> >>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In function ‘mmap’: >>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>>> ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>>> (Each undeclared identifier is reported only once >>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>>> for each function it appears in.) >>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>>>>>> warning: cast to pointer from integer of different size >>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>>>>>> warning: cast to pointer from integer of different size >>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:64: >>>>>>> warning: cast to pointer from integer of different size >>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In >>>>>>> function ‘system_open’: >>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:75: >>>>>>> warning: cast to pointer from integer of different size >>>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:76: >>>>>>> warning: cast to pointer from integer of different size >>>>>>> >>>>>>> >>>>>>> On Sat, Aug 1, 2009 at 1:15 AM, <jh...@gm...> wrote: >>>>>>>> its not building on 64bit linux... >>>>>>>> >>>>>>>> [ 55%] Building C object CMakeFiles/posix.dir/mandatory/printf_scanner.c.o >>>>>>>> [ 58%] Building C object CMakeFiles/posix.dir/system/linux/system_calls.c.o >>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>> In function ‘write’: >>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:38: >>>>>>>> warning: cast to pointer from integer of different size >>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>> In function ‘_Exit’: >>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:44: >>>>>>>> warning: cast to pointer from integer of different size >>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>> In function ‘mmap’: >>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>>> error: ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>>> error: (Each undeclared identifier is reported only once >>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>>> error: for each function it appears in.) >>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>>>>>> warning: cast to pointer from integer of different size >>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>>>>>> warning: cast to pointer from integer of different size >>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:64: >>>>>>>> warning: cast to pointer from integer of different size >>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>>> In function ‘system_open’: >>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:75: >>>>>>>> warning: cast to pointer from integer of different size >>>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:76: >>>>>>>> warning: cast to pointer from integer of different size >>>>>>>> make[3]: *** [CMakeFiles/posix.dir/system/linux/system_calls.c.o] Error 1 >>>>>>>> make[3]: Leaving directory >>>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>>> make[2]: *** [CMakeFiles/posix.dir/all] Error 2 >>>>>>>> make[2]: Leaving directory >>>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>>> make[1]: *** [all] Error 2 >>>>>>>> make[1]: Leaving directory >>>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>>> make: *** [build] Error 2 >>>>>>>> dpkg-buildpackage: failure: debian/rules build gave error exit status 2 >>>>>>>> bzr: ERROR: The build failed. >>>>>>>> >>>>>>>> >>>>>>>> On Fri, Jul 31, 2009 at 9:00 PM, Henrique Almeida<hd...@gm...> wrote: >>>>>>>>> >>>>>>>>> I've fixed the compilation for x86 and included mmap (I've changed >>>>>>>>> the sbrk call to mmap). I don't know yet if it compiles under other >>>>>>>>> platforms and I haven't tested on any platform, so expect crashes. >>>>>>>>> >>>>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>>>> >>>>>>>>>> The current HEAD doesn't build... My fault... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Fri, Jul 31, 2009 at 3:24 PM, <jh...@gm...> wrote: >>>>>>>>>>> >>>>>>>>>>> There is one error. Search for sbrk >>>>>>>>>>> >>>>>>>>>>> On Fri, Jul 31, 2009 at 2:10 PM, Henrique Almeida<hd...@gm...> >>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>> Yes, that would be a good start. >>>>>>>>>>>> >>>>>>>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>>>>>>> >>>>>>>>>>>>> I could get us started by implementing the version of malloc taught in >>>>>>>>>>>>> K&R >>>>>>>>>>>>> C. >>>>>>>>>>>>> >>>>>>>>>>>>> Just an thought... >>>>>>>>>>>>> >>>>>>>>>>>>> On Fri, Jul 31, 2009 at 11:29 AM, Henrique Almeida<hd...@gm...> >>>>>>>>>>>>> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>> I've spent too much time studying dlmalloc and there are still many >>>>>>>>>>>>>> details that I don't understand. I'm considering trying alternative >>>>>>>>>>>>>> implementations. >>>>>>>>>>>>>> >>>>>>>>>>>>>> 2009/7/22 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I'm thinking about reimplementing Doug Lea's malloc for libposix, >>>>>>>>>>>>>>> at >>>>>>>>>>>>>>> least while we don't have threading support. I'm currently studying >>>>>>>>>>>>>>> his implementation. malloc is an important function that we're >>>>>>>>>>>>>>> missing. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 2009/7/16 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> 2009/7/16 Chris Forbes <ch...@fa...>: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> I think I've finally got git figured out (unwiring my brain from >>>>>>>>>>>>>>>>> using >>>>>>>>>>>>>>>>> SVN :(), >>>>>>>>>>>>>>>>> so I'll do some of the other functions for bzip2 after work. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I have to write a git howto for the project, but I won't have time >>>>>>>>>>>>>>>> in >>>>>>>>>>>>>>>> the next weeks. The task is at TaskFreak site. Basically, git has >>>>>>>>>>>>>>>> two >>>>>>>>>>>>>>>> main differences from svn (that make things look complicated), >>>>>>>>>>>>>>>> which >>>>>>>>>>>>>>>> are multiple repositories (as a natural part of the development) >>>>>>>>>>>>>>>> and >>>>>>>>>>>>>>>> somewhat different terminology. So, to work with git you first need >>>>>>>>>>>>>>>> to >>>>>>>>>>>>>>>> recreate your own repository. Then you'll work by commiting >>>>>>>>>>>>>>>> frequently >>>>>>>>>>>>>>>> to your local repository. When the code is in a usable state for >>>>>>>>>>>>>>>> everyone, you merge your repository with SF repository. The >>>>>>>>>>>>>>>> commands >>>>>>>>>>>>>>>> are the following: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> # Create a full local clone of the remote repository (and setup >>>>>>>>>>>>>>>> remote >>>>>>>>>>>>>>>> merges) >>>>>>>>>>>>>>>> git clone >>>>>>>>>>>>>>>> ssh://hd...@li.../gitroot/libposix >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> # Merge the remote repository in your local repository >>>>>>>>>>>>>>>> git pull >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> # Merge the remote repository (other than SF) in your local >>>>>>>>>>>>>>>> repository >>>>>>>>>>>>>>>> git pull http://remote.repository.com/ >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> # Edit code >>>>>>>>>>>>>>>> editor source1 source2 source3 (git is not used) >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> # View list of changed files >>>>>>>>>>>>>>>> git status >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> # View code changes >>>>>>>>>>>>>>>> git diff >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> # Add files to commit >>>>>>>>>>>>>>>> git add source1/dir1 >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> # Remove files >>>>>>>>>>>>>>>> git rm source1 >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> # Move files >>>>>>>>>>>>>>>> git mv source1 dest1 >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> # View code changes that were marked as added to commit (with git >>>>>>>>>>>>>>>> add) >>>>>>>>>>>>>>>> git diff HEAD >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> # Commit (to the local repository) >>>>>>>>>>>>>>>> git commit >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> # View the commit log >>>>>>>>>>>>>>>> git log >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> # Merge the local repository to the remote repository (upload code >>>>>>>>>>>>>>>> to >>>>>>>>>>>>>>>> SF) >>>>>>>>>>>>>>>> git push >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -- Chris >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -----Original Message----- >>>>>>>>>>>>>>>>> From: Henrique Almeida [mailto:hd...@gm...] >>>>>>>>>>>>>>>>> Sent: Thursday, 16 July 2009 3:18 p.m. >>>>>>>>>>>>>>>>> To: lib...@li... >>>>>>>>>>>>>>>>> Subject: [libposix-development] bzip2 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> I've started implementing functions required by bzip2. I'm trying >>>>>>>>>>>>>>>>> to >>>>>>>>>>>>>>>>> implement them as simple as possible, with only the functionality >>>>>>>>>>>>>>>>> required by bzip2. Example functions are fileno() and strerror(). >>>>>>>>>>>>>>>>> I'll >>>>>>>>>>>>>>>>> begin to implement open() in the next days. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> ------------------------------------------------------------------------ >>>>>>>>>>>>>>>>> ------ >>>>>>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>>>>>> time, >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>>>>>> will >>>>>>>>>>>>>>>>> have >>>>>>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>>>>>> full >>>>>>>>>>>>>>>>> prize >>>>>>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>>>>>> time, >>>>>>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>>>>>> will >>>>>>>>>>>>>>>>> have >>>>>>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>>>>>> full >>>>>>>>>>>>>>>>> prize >>>>>>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>>>> 30-Day >>>>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>>>> focus >>>>>>>>>>>>>> on >>>>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> John Haitas >>>>>>>>>>>>> jh...@gm... >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>>> 30-Day >>>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>>> focus >>>>>>>>>>>>> on >>>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>> hd...@gm... >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>> 30-Day >>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>> focus >>>>>>>>>>>> on >>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>> Lib...@li... >>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> John Haitas >>>>>>>>>>> jh...@gm... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> John Haitas >>>>>>>>>> jh...@gm... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>> 30-Day >>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>> focus >>>>>>>>>> on >>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>> _______________________________________________ >>>>>>>>>> Libposix-development mailing list >>>>>>>>>> Lib...@li... >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Henrique Dante de Almeida >>>>>>>>> hd...@gm... >>>>>>>>> >>>>>>>>> >>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>> 30-Day >>>>>>>>> trial. Simplify your report design, integration and deployment - and focus >>>>>>>>> on >>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>> _______________________________________________ >>>>>>>>> Libposix-development mailing list >>>>>>>>> Lib...@li... >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> John Haitas >>>>>>>> jh...@gm... >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> John Haitas >>>>>>> jh...@gm... >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>>>>> trial. Simplify your report design, integration and deployment - and focus on >>>>>>> what you do best, core application coding. Discover what's new with >>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>> _______________________________________________ >>>>>>> Libposix-development mailing list >>>>>>> Lib...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Henrique Dante de Almeida >>>>>> hd...@gm... >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Henrique Dante de Almeida >>>>> hd...@gm... >>>>> >>>> >>>> >>>> >>>> -- >>>> Henrique Dante de Almeida >>>> hd...@gm... >>>> >>>> ------------------------------------------------------------------------------ >>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>> trial. Simplify your report design, integration and deployment - and focus on >>>> what you do best, core application coding. Discover what's new with >>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>> _______________________________________________ >>>> Libposix-development mailing list >>>> Lib...@li... >>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>> >>> >>> >>> >>> -- >>> John Haitas >>> jh...@gm... >>> >> >> >> >> -- >> John Haitas >> jh...@gm... >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Libposix-development mailing list >> Lib...@li... >> https://lists.sourceforge.net/lists/listinfo/libposix-development >> > > > > -- > Henrique Dante de Almeida > hd...@gm... > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Libposix-development mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libposix-development > -- John Haitas jh...@gm... |
From: Henrique A. <hd...@gm...> - 2009-08-02 21:11:07
|
Implement all the required functions. Do a readelf --relocs /bin/bzip2 to see what it needs. 2009/8/2 John Haitas <jh...@gm...>: > What do we need to do to get bzip2 to build? > > On Sat, Aug 1, 2009 at 5:14 PM, John Haitas<jh...@gm...> wrote: >> Great work Henrique! >> >> >> On Sat, Aug 1, 2009 at 1:20 PM, Henrique Almeida<hd...@gm...> wrote: >>> Fixed for x86_64 too, which means that we have a malloc. :-D >>> >>> 2009/8/1 Henrique Almeida <hd...@gm...>: >>>> Simple test is working perfectly on linux and freebsd x86. :-) >>>> >>>> 2009/8/1 Henrique Almeida <hd...@gm...>: >>>>> I've fixed compilation in all platforms. Tests are still missing. >>>>> >>>>> 2009/8/1 John Haitas <jh...@gm...>: >>>>>> it seems as if mmap isn't defined for 64bit >>>>>> >>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In function ‘mmap’: >>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>> ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>> (Each undeclared identifier is reported only once >>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>>> for each function it appears in.) >>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>>>>> warning: cast to pointer from integer of different size >>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>>>>> warning: cast to pointer from integer of different size >>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:64: >>>>>> warning: cast to pointer from integer of different size >>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In >>>>>> function ‘system_open’: >>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:75: >>>>>> warning: cast to pointer from integer of different size >>>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:76: >>>>>> warning: cast to pointer from integer of different size >>>>>> >>>>>> >>>>>> On Sat, Aug 1, 2009 at 1:15 AM, <jh...@gm...> wrote: >>>>>>> its not building on 64bit linux... >>>>>>> >>>>>>> [ 55%] Building C object CMakeFiles/posix.dir/mandatory/printf_scanner.c.o >>>>>>> [ 58%] Building C object CMakeFiles/posix.dir/system/linux/system_calls.c.o >>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>> In function ‘write’: >>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:38: >>>>>>> warning: cast to pointer from integer of different size >>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>> In function ‘_Exit’: >>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:44: >>>>>>> warning: cast to pointer from integer of different size >>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>> In function ‘mmap’: >>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>> error: ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>> error: (Each undeclared identifier is reported only once >>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>>> error: for each function it appears in.) >>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>>>>> warning: cast to pointer from integer of different size >>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>>>>> warning: cast to pointer from integer of different size >>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:64: >>>>>>> warning: cast to pointer from integer of different size >>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>>> In function ‘system_open’: >>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:75: >>>>>>> warning: cast to pointer from integer of different size >>>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:76: >>>>>>> warning: cast to pointer from integer of different size >>>>>>> make[3]: *** [CMakeFiles/posix.dir/system/linux/system_calls.c.o] Error 1 >>>>>>> make[3]: Leaving directory >>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>> make[2]: *** [CMakeFiles/posix.dir/all] Error 2 >>>>>>> make[2]: Leaving directory >>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>> make[1]: *** [all] Error 2 >>>>>>> make[1]: Leaving directory >>>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>>> make: *** [build] Error 2 >>>>>>> dpkg-buildpackage: failure: debian/rules build gave error exit status 2 >>>>>>> bzr: ERROR: The build failed. >>>>>>> >>>>>>> >>>>>>> On Fri, Jul 31, 2009 at 9:00 PM, Henrique Almeida<hd...@gm...> wrote: >>>>>>>> >>>>>>>> I've fixed the compilation for x86 and included mmap (I've changed >>>>>>>> the sbrk call to mmap). I don't know yet if it compiles under other >>>>>>>> platforms and I haven't tested on any platform, so expect crashes. >>>>>>>> >>>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>>> >>>>>>>>> The current HEAD doesn't build... My fault... >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Jul 31, 2009 at 3:24 PM, <jh...@gm...> wrote: >>>>>>>>>> >>>>>>>>>> There is one error. Search for sbrk >>>>>>>>>> >>>>>>>>>> On Fri, Jul 31, 2009 at 2:10 PM, Henrique Almeida<hd...@gm...> >>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>> Yes, that would be a good start. >>>>>>>>>>> >>>>>>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>>>>>> >>>>>>>>>>>> I could get us started by implementing the version of malloc taught in >>>>>>>>>>>> K&R >>>>>>>>>>>> C. >>>>>>>>>>>> >>>>>>>>>>>> Just an thought... >>>>>>>>>>>> >>>>>>>>>>>> On Fri, Jul 31, 2009 at 11:29 AM, Henrique Almeida<hd...@gm...> >>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> I've spent too much time studying dlmalloc and there are still many >>>>>>>>>>>>> details that I don't understand. I'm considering trying alternative >>>>>>>>>>>>> implementations. >>>>>>>>>>>>> >>>>>>>>>>>>> 2009/7/22 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>>>> >>>>>>>>>>>>>> I'm thinking about reimplementing Doug Lea's malloc for libposix, >>>>>>>>>>>>>> at >>>>>>>>>>>>>> least while we don't have threading support. I'm currently studying >>>>>>>>>>>>>> his implementation. malloc is an important function that we're >>>>>>>>>>>>>> missing. >>>>>>>>>>>>>> >>>>>>>>>>>>>> 2009/7/16 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 2009/7/16 Chris Forbes <ch...@fa...>: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I think I've finally got git figured out (unwiring my brain from >>>>>>>>>>>>>>>> using >>>>>>>>>>>>>>>> SVN :(), >>>>>>>>>>>>>>>> so I'll do some of the other functions for bzip2 after work. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I have to write a git howto for the project, but I won't have time >>>>>>>>>>>>>>> in >>>>>>>>>>>>>>> the next weeks. The task is at TaskFreak site. Basically, git has >>>>>>>>>>>>>>> two >>>>>>>>>>>>>>> main differences from svn (that make things look complicated), >>>>>>>>>>>>>>> which >>>>>>>>>>>>>>> are multiple repositories (as a natural part of the development) >>>>>>>>>>>>>>> and >>>>>>>>>>>>>>> somewhat different terminology. So, to work with git you first need >>>>>>>>>>>>>>> to >>>>>>>>>>>>>>> recreate your own repository. Then you'll work by commiting >>>>>>>>>>>>>>> frequently >>>>>>>>>>>>>>> to your local repository. When the code is in a usable state for >>>>>>>>>>>>>>> everyone, you merge your repository with SF repository. The >>>>>>>>>>>>>>> commands >>>>>>>>>>>>>>> are the following: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # Create a full local clone of the remote repository (and setup >>>>>>>>>>>>>>> remote >>>>>>>>>>>>>>> merges) >>>>>>>>>>>>>>> git clone >>>>>>>>>>>>>>> ssh://hd...@li.../gitroot/libposix >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # Merge the remote repository in your local repository >>>>>>>>>>>>>>> git pull >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # Merge the remote repository (other than SF) in your local >>>>>>>>>>>>>>> repository >>>>>>>>>>>>>>> git pull http://remote.repository.com/ >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # Edit code >>>>>>>>>>>>>>> editor source1 source2 source3 (git is not used) >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # View list of changed files >>>>>>>>>>>>>>> git status >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # View code changes >>>>>>>>>>>>>>> git diff >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # Add files to commit >>>>>>>>>>>>>>> git add source1/dir1 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # Remove files >>>>>>>>>>>>>>> git rm source1 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # Move files >>>>>>>>>>>>>>> git mv source1 dest1 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # View code changes that were marked as added to commit (with git >>>>>>>>>>>>>>> add) >>>>>>>>>>>>>>> git diff HEAD >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # Commit (to the local repository) >>>>>>>>>>>>>>> git commit >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # View the commit log >>>>>>>>>>>>>>> git log >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # Merge the local repository to the remote repository (upload code >>>>>>>>>>>>>>> to >>>>>>>>>>>>>>> SF) >>>>>>>>>>>>>>> git push >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- Chris >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -----Original Message----- >>>>>>>>>>>>>>>> From: Henrique Almeida [mailto:hd...@gm...] >>>>>>>>>>>>>>>> Sent: Thursday, 16 July 2009 3:18 p.m. >>>>>>>>>>>>>>>> To: lib...@li... >>>>>>>>>>>>>>>> Subject: [libposix-development] bzip2 >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I've started implementing functions required by bzip2. I'm trying >>>>>>>>>>>>>>>> to >>>>>>>>>>>>>>>> implement them as simple as possible, with only the functionality >>>>>>>>>>>>>>>> required by bzip2. Example functions are fileno() and strerror(). >>>>>>>>>>>>>>>> I'll >>>>>>>>>>>>>>>> begin to implement open() in the next days. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> ------------------------------------------------------------------------ >>>>>>>>>>>>>>>> ------ >>>>>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>>>>> time, >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>>>>> will >>>>>>>>>>>>>>>> have >>>>>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>>>>> full >>>>>>>>>>>>>>>> prize >>>>>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>>>>> time, >>>>>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>>>>> will >>>>>>>>>>>>>>>> have >>>>>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>>>>> full >>>>>>>>>>>>>>>> prize >>>>>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>>> 30-Day >>>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>>> focus >>>>>>>>>>>>> on >>>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> John Haitas >>>>>>>>>>>> jh...@gm... >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>> 30-Day >>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>> focus >>>>>>>>>>>> on >>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>> Lib...@li... >>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>> hd...@gm... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>> 30-Day >>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>> focus >>>>>>>>>>> on >>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>> Lib...@li... >>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> John Haitas >>>>>>>>>> jh...@gm... >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> John Haitas >>>>>>>>> jh...@gm... >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>> 30-Day >>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>> focus >>>>>>>>> on >>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>> _______________________________________________ >>>>>>>>> Libposix-development mailing list >>>>>>>>> Lib...@li... >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Henrique Dante de Almeida >>>>>>>> hd...@gm... >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------------------------------ >>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>> 30-Day >>>>>>>> trial. Simplify your report design, integration and deployment - and focus >>>>>>>> on >>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>> _______________________________________________ >>>>>>>> Libposix-development mailing list >>>>>>>> Lib...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> John Haitas >>>>>>> jh...@gm... >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> John Haitas >>>>>> jh...@gm... >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>>>> trial. Simplify your report design, integration and deployment - and focus on >>>>>> what you do best, core application coding. Discover what's new with >>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>> _______________________________________________ >>>>>> Libposix-development mailing list >>>>>> Lib...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Henrique Dante de Almeida >>>>> hd...@gm... >>>>> >>>> >>>> >>>> >>>> -- >>>> Henrique Dante de Almeida >>>> hd...@gm... >>>> >>> >>> >>> >>> -- >>> Henrique Dante de Almeida >>> hd...@gm... >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Libposix-development mailing list >>> Lib...@li... >>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>> >> >> >> >> -- >> John Haitas >> jh...@gm... >> > > > > -- > John Haitas > jh...@gm... > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Libposix-development mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libposix-development > -- Henrique Dante de Almeida hd...@gm... |
From: John H. <jh...@gm...> - 2009-08-02 15:14:26
|
What do we need to do to get bzip2 to build? On Sat, Aug 1, 2009 at 5:14 PM, John Haitas<jh...@gm...> wrote: > Great work Henrique! > > > On Sat, Aug 1, 2009 at 1:20 PM, Henrique Almeida<hd...@gm...> wrote: >> Fixed for x86_64 too, which means that we have a malloc. :-D >> >> 2009/8/1 Henrique Almeida <hd...@gm...>: >>> Simple test is working perfectly on linux and freebsd x86. :-) >>> >>> 2009/8/1 Henrique Almeida <hd...@gm...>: >>>> I've fixed compilation in all platforms. Tests are still missing. >>>> >>>> 2009/8/1 John Haitas <jh...@gm...>: >>>>> it seems as if mmap isn't defined for 64bit >>>>> >>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In function ‘mmap’: >>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>> ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>> (Each undeclared identifier is reported only once >>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>>> for each function it appears in.) >>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>>>> warning: cast to pointer from integer of different size >>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>>>> warning: cast to pointer from integer of different size >>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:64: >>>>> warning: cast to pointer from integer of different size >>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In >>>>> function ‘system_open’: >>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:75: >>>>> warning: cast to pointer from integer of different size >>>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:76: >>>>> warning: cast to pointer from integer of different size >>>>> >>>>> >>>>> On Sat, Aug 1, 2009 at 1:15 AM, <jh...@gm...> wrote: >>>>>> its not building on 64bit linux... >>>>>> >>>>>> [ 55%] Building C object CMakeFiles/posix.dir/mandatory/printf_scanner.c.o >>>>>> [ 58%] Building C object CMakeFiles/posix.dir/system/linux/system_calls.c.o >>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>> In function ‘write’: >>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:38: >>>>>> warning: cast to pointer from integer of different size >>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>> In function ‘_Exit’: >>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:44: >>>>>> warning: cast to pointer from integer of different size >>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>> In function ‘mmap’: >>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>> error: ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>> error: (Each undeclared identifier is reported only once >>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>>> error: for each function it appears in.) >>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>>>> warning: cast to pointer from integer of different size >>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>>>> warning: cast to pointer from integer of different size >>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:64: >>>>>> warning: cast to pointer from integer of different size >>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>>> In function ‘system_open’: >>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:75: >>>>>> warning: cast to pointer from integer of different size >>>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:76: >>>>>> warning: cast to pointer from integer of different size >>>>>> make[3]: *** [CMakeFiles/posix.dir/system/linux/system_calls.c.o] Error 1 >>>>>> make[3]: Leaving directory >>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>> make[2]: *** [CMakeFiles/posix.dir/all] Error 2 >>>>>> make[2]: Leaving directory >>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>> make[1]: *** [all] Error 2 >>>>>> make[1]: Leaving directory >>>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>>> make: *** [build] Error 2 >>>>>> dpkg-buildpackage: failure: debian/rules build gave error exit status 2 >>>>>> bzr: ERROR: The build failed. >>>>>> >>>>>> >>>>>> On Fri, Jul 31, 2009 at 9:00 PM, Henrique Almeida<hd...@gm...> wrote: >>>>>>> >>>>>>> I've fixed the compilation for x86 and included mmap (I've changed >>>>>>> the sbrk call to mmap). I don't know yet if it compiles under other >>>>>>> platforms and I haven't tested on any platform, so expect crashes. >>>>>>> >>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>> >>>>>>>> The current HEAD doesn't build... My fault... >>>>>>>> >>>>>>>> >>>>>>>> On Fri, Jul 31, 2009 at 3:24 PM, <jh...@gm...> wrote: >>>>>>>>> >>>>>>>>> There is one error. Search for sbrk >>>>>>>>> >>>>>>>>> On Fri, Jul 31, 2009 at 2:10 PM, Henrique Almeida<hd...@gm...> >>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> Yes, that would be a good start. >>>>>>>>>> >>>>>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>>>>> >>>>>>>>>>> I could get us started by implementing the version of malloc taught in >>>>>>>>>>> K&R >>>>>>>>>>> C. >>>>>>>>>>> >>>>>>>>>>> Just an thought... >>>>>>>>>>> >>>>>>>>>>> On Fri, Jul 31, 2009 at 11:29 AM, Henrique Almeida<hd...@gm...> >>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>> I've spent too much time studying dlmalloc and there are still many >>>>>>>>>>>> details that I don't understand. I'm considering trying alternative >>>>>>>>>>>> implementations. >>>>>>>>>>>> >>>>>>>>>>>> 2009/7/22 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>>> >>>>>>>>>>>>> I'm thinking about reimplementing Doug Lea's malloc for libposix, >>>>>>>>>>>>> at >>>>>>>>>>>>> least while we don't have threading support. I'm currently studying >>>>>>>>>>>>> his implementation. malloc is an important function that we're >>>>>>>>>>>>> missing. >>>>>>>>>>>>> >>>>>>>>>>>>> 2009/7/16 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>>>> >>>>>>>>>>>>>> 2009/7/16 Chris Forbes <ch...@fa...>: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I think I've finally got git figured out (unwiring my brain from >>>>>>>>>>>>>>> using >>>>>>>>>>>>>>> SVN :(), >>>>>>>>>>>>>>> so I'll do some of the other functions for bzip2 after work. >>>>>>>>>>>>>> >>>>>>>>>>>>>> I have to write a git howto for the project, but I won't have time >>>>>>>>>>>>>> in >>>>>>>>>>>>>> the next weeks. The task is at TaskFreak site. Basically, git has >>>>>>>>>>>>>> two >>>>>>>>>>>>>> main differences from svn (that make things look complicated), >>>>>>>>>>>>>> which >>>>>>>>>>>>>> are multiple repositories (as a natural part of the development) >>>>>>>>>>>>>> and >>>>>>>>>>>>>> somewhat different terminology. So, to work with git you first need >>>>>>>>>>>>>> to >>>>>>>>>>>>>> recreate your own repository. Then you'll work by commiting >>>>>>>>>>>>>> frequently >>>>>>>>>>>>>> to your local repository. When the code is in a usable state for >>>>>>>>>>>>>> everyone, you merge your repository with SF repository. The >>>>>>>>>>>>>> commands >>>>>>>>>>>>>> are the following: >>>>>>>>>>>>>> >>>>>>>>>>>>>> # Create a full local clone of the remote repository (and setup >>>>>>>>>>>>>> remote >>>>>>>>>>>>>> merges) >>>>>>>>>>>>>> git clone >>>>>>>>>>>>>> ssh://hd...@li.../gitroot/libposix >>>>>>>>>>>>>> >>>>>>>>>>>>>> # Merge the remote repository in your local repository >>>>>>>>>>>>>> git pull >>>>>>>>>>>>>> >>>>>>>>>>>>>> # Merge the remote repository (other than SF) in your local >>>>>>>>>>>>>> repository >>>>>>>>>>>>>> git pull http://remote.repository.com/ >>>>>>>>>>>>>> >>>>>>>>>>>>>> # Edit code >>>>>>>>>>>>>> editor source1 source2 source3 (git is not used) >>>>>>>>>>>>>> >>>>>>>>>>>>>> # View list of changed files >>>>>>>>>>>>>> git status >>>>>>>>>>>>>> >>>>>>>>>>>>>> # View code changes >>>>>>>>>>>>>> git diff >>>>>>>>>>>>>> >>>>>>>>>>>>>> # Add files to commit >>>>>>>>>>>>>> git add source1/dir1 >>>>>>>>>>>>>> >>>>>>>>>>>>>> # Remove files >>>>>>>>>>>>>> git rm source1 >>>>>>>>>>>>>> >>>>>>>>>>>>>> # Move files >>>>>>>>>>>>>> git mv source1 dest1 >>>>>>>>>>>>>> >>>>>>>>>>>>>> # View code changes that were marked as added to commit (with git >>>>>>>>>>>>>> add) >>>>>>>>>>>>>> git diff HEAD >>>>>>>>>>>>>> >>>>>>>>>>>>>> # Commit (to the local repository) >>>>>>>>>>>>>> git commit >>>>>>>>>>>>>> >>>>>>>>>>>>>> # View the commit log >>>>>>>>>>>>>> git log >>>>>>>>>>>>>> >>>>>>>>>>>>>> # Merge the local repository to the remote repository (upload code >>>>>>>>>>>>>> to >>>>>>>>>>>>>> SF) >>>>>>>>>>>>>> git push >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- Chris >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -----Original Message----- >>>>>>>>>>>>>>> From: Henrique Almeida [mailto:hd...@gm...] >>>>>>>>>>>>>>> Sent: Thursday, 16 July 2009 3:18 p.m. >>>>>>>>>>>>>>> To: lib...@li... >>>>>>>>>>>>>>> Subject: [libposix-development] bzip2 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I've started implementing functions required by bzip2. I'm trying >>>>>>>>>>>>>>> to >>>>>>>>>>>>>>> implement them as simple as possible, with only the functionality >>>>>>>>>>>>>>> required by bzip2. Example functions are fileno() and strerror(). >>>>>>>>>>>>>>> I'll >>>>>>>>>>>>>>> begin to implement open() in the next days. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> ------------------------------------------------------------------------ >>>>>>>>>>>>>>> ------ >>>>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>>>> time, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>>>> will >>>>>>>>>>>>>>> have >>>>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>>>> full >>>>>>>>>>>>>>> prize >>>>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>>>> time, >>>>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>>>> will >>>>>>>>>>>>>>> have >>>>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>>>> full >>>>>>>>>>>>>>> prize >>>>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>> hd...@gm... >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>>> 30-Day >>>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>>> focus >>>>>>>>>>>> on >>>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>> Lib...@li... >>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> John Haitas >>>>>>>>>>> jh...@gm... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>> 30-Day >>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>> focus >>>>>>>>>>> on >>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>> Lib...@li... >>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>> hd...@gm... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>> 30-Day >>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>> focus >>>>>>>>>> on >>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>> _______________________________________________ >>>>>>>>>> Libposix-development mailing list >>>>>>>>>> Lib...@li... >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> John Haitas >>>>>>>>> jh...@gm... >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> John Haitas >>>>>>>> jh...@gm... >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------------------------------ >>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>> 30-Day >>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>> focus >>>>>>>> on >>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>> _______________________________________________ >>>>>>>> Libposix-development mailing list >>>>>>>> Lib...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Henrique Dante de Almeida >>>>>>> hd...@gm... >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>> 30-Day >>>>>>> trial. Simplify your report design, integration and deployment - and focus >>>>>>> on >>>>>>> what you do best, core application coding. Discover what's new with >>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>> _______________________________________________ >>>>>>> Libposix-development mailing list >>>>>>> Lib...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> John Haitas >>>>>> jh...@gm... >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> John Haitas >>>>> jh...@gm... >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>>> trial. Simplify your report design, integration and deployment - and focus on >>>>> what you do best, core application coding. Discover what's new with >>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>> _______________________________________________ >>>>> Libposix-development mailing list >>>>> Lib...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>> >>>> >>>> >>>> >>>> -- >>>> Henrique Dante de Almeida >>>> hd...@gm... >>>> >>> >>> >>> >>> -- >>> Henrique Dante de Almeida >>> hd...@gm... >>> >> >> >> >> -- >> Henrique Dante de Almeida >> hd...@gm... >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Libposix-development mailing list >> Lib...@li... >> https://lists.sourceforge.net/lists/listinfo/libposix-development >> > > > > -- > John Haitas > jh...@gm... > -- John Haitas jh...@gm... |
From: John H. <jh...@gm...> - 2009-08-01 22:14:49
|
Great work Henrique! On Sat, Aug 1, 2009 at 1:20 PM, Henrique Almeida<hd...@gm...> wrote: > Fixed for x86_64 too, which means that we have a malloc. :-D > > 2009/8/1 Henrique Almeida <hd...@gm...>: >> Simple test is working perfectly on linux and freebsd x86. :-) >> >> 2009/8/1 Henrique Almeida <hd...@gm...>: >>> I've fixed compilation in all platforms. Tests are still missing. >>> >>> 2009/8/1 John Haitas <jh...@gm...>: >>>> it seems as if mmap isn't defined for 64bit >>>> >>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In function ‘mmap’: >>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>> ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>> (Each undeclared identifier is reported only once >>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>>> for each function it appears in.) >>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>>> warning: cast to pointer from integer of different size >>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>>> warning: cast to pointer from integer of different size >>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:64: >>>> warning: cast to pointer from integer of different size >>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In >>>> function ‘system_open’: >>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:75: >>>> warning: cast to pointer from integer of different size >>>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:76: >>>> warning: cast to pointer from integer of different size >>>> >>>> >>>> On Sat, Aug 1, 2009 at 1:15 AM, <jh...@gm...> wrote: >>>>> its not building on 64bit linux... >>>>> >>>>> [ 55%] Building C object CMakeFiles/posix.dir/mandatory/printf_scanner.c.o >>>>> [ 58%] Building C object CMakeFiles/posix.dir/system/linux/system_calls.c.o >>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>> In function ‘write’: >>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:38: >>>>> warning: cast to pointer from integer of different size >>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>> In function ‘_Exit’: >>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:44: >>>>> warning: cast to pointer from integer of different size >>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>> In function ‘mmap’: >>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>> error: ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>> error: (Each undeclared identifier is reported only once >>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>>> error: for each function it appears in.) >>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>>> warning: cast to pointer from integer of different size >>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>>> warning: cast to pointer from integer of different size >>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:64: >>>>> warning: cast to pointer from integer of different size >>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>>> In function ‘system_open’: >>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:75: >>>>> warning: cast to pointer from integer of different size >>>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:76: >>>>> warning: cast to pointer from integer of different size >>>>> make[3]: *** [CMakeFiles/posix.dir/system/linux/system_calls.c.o] Error 1 >>>>> make[3]: Leaving directory >>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>> make[2]: *** [CMakeFiles/posix.dir/all] Error 2 >>>>> make[2]: Leaving directory >>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>> make[1]: *** [all] Error 2 >>>>> make[1]: Leaving directory >>>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>>> make: *** [build] Error 2 >>>>> dpkg-buildpackage: failure: debian/rules build gave error exit status 2 >>>>> bzr: ERROR: The build failed. >>>>> >>>>> >>>>> On Fri, Jul 31, 2009 at 9:00 PM, Henrique Almeida<hd...@gm...> wrote: >>>>>> >>>>>> I've fixed the compilation for x86 and included mmap (I've changed >>>>>> the sbrk call to mmap). I don't know yet if it compiles under other >>>>>> platforms and I haven't tested on any platform, so expect crashes. >>>>>> >>>>>> 2009/7/31 <jh...@gm...>: >>>>>>> >>>>>>> The current HEAD doesn't build... My fault... >>>>>>> >>>>>>> >>>>>>> On Fri, Jul 31, 2009 at 3:24 PM, <jh...@gm...> wrote: >>>>>>>> >>>>>>>> There is one error. Search for sbrk >>>>>>>> >>>>>>>> On Fri, Jul 31, 2009 at 2:10 PM, Henrique Almeida<hd...@gm...> >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> Yes, that would be a good start. >>>>>>>>> >>>>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>>>> >>>>>>>>>> I could get us started by implementing the version of malloc taught in >>>>>>>>>> K&R >>>>>>>>>> C. >>>>>>>>>> >>>>>>>>>> Just an thought... >>>>>>>>>> >>>>>>>>>> On Fri, Jul 31, 2009 at 11:29 AM, Henrique Almeida<hd...@gm...> >>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>> I've spent too much time studying dlmalloc and there are still many >>>>>>>>>>> details that I don't understand. I'm considering trying alternative >>>>>>>>>>> implementations. >>>>>>>>>>> >>>>>>>>>>> 2009/7/22 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>> >>>>>>>>>>>> I'm thinking about reimplementing Doug Lea's malloc for libposix, >>>>>>>>>>>> at >>>>>>>>>>>> least while we don't have threading support. I'm currently studying >>>>>>>>>>>> his implementation. malloc is an important function that we're >>>>>>>>>>>> missing. >>>>>>>>>>>> >>>>>>>>>>>> 2009/7/16 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>>> >>>>>>>>>>>>> 2009/7/16 Chris Forbes <ch...@fa...>: >>>>>>>>>>>>>> >>>>>>>>>>>>>> I think I've finally got git figured out (unwiring my brain from >>>>>>>>>>>>>> using >>>>>>>>>>>>>> SVN :(), >>>>>>>>>>>>>> so I'll do some of the other functions for bzip2 after work. >>>>>>>>>>>>> >>>>>>>>>>>>> I have to write a git howto for the project, but I won't have time >>>>>>>>>>>>> in >>>>>>>>>>>>> the next weeks. The task is at TaskFreak site. Basically, git has >>>>>>>>>>>>> two >>>>>>>>>>>>> main differences from svn (that make things look complicated), >>>>>>>>>>>>> which >>>>>>>>>>>>> are multiple repositories (as a natural part of the development) >>>>>>>>>>>>> and >>>>>>>>>>>>> somewhat different terminology. So, to work with git you first need >>>>>>>>>>>>> to >>>>>>>>>>>>> recreate your own repository. Then you'll work by commiting >>>>>>>>>>>>> frequently >>>>>>>>>>>>> to your local repository. When the code is in a usable state for >>>>>>>>>>>>> everyone, you merge your repository with SF repository. The >>>>>>>>>>>>> commands >>>>>>>>>>>>> are the following: >>>>>>>>>>>>> >>>>>>>>>>>>> # Create a full local clone of the remote repository (and setup >>>>>>>>>>>>> remote >>>>>>>>>>>>> merges) >>>>>>>>>>>>> git clone >>>>>>>>>>>>> ssh://hd...@li.../gitroot/libposix >>>>>>>>>>>>> >>>>>>>>>>>>> # Merge the remote repository in your local repository >>>>>>>>>>>>> git pull >>>>>>>>>>>>> >>>>>>>>>>>>> # Merge the remote repository (other than SF) in your local >>>>>>>>>>>>> repository >>>>>>>>>>>>> git pull http://remote.repository.com/ >>>>>>>>>>>>> >>>>>>>>>>>>> # Edit code >>>>>>>>>>>>> editor source1 source2 source3 (git is not used) >>>>>>>>>>>>> >>>>>>>>>>>>> # View list of changed files >>>>>>>>>>>>> git status >>>>>>>>>>>>> >>>>>>>>>>>>> # View code changes >>>>>>>>>>>>> git diff >>>>>>>>>>>>> >>>>>>>>>>>>> # Add files to commit >>>>>>>>>>>>> git add source1/dir1 >>>>>>>>>>>>> >>>>>>>>>>>>> # Remove files >>>>>>>>>>>>> git rm source1 >>>>>>>>>>>>> >>>>>>>>>>>>> # Move files >>>>>>>>>>>>> git mv source1 dest1 >>>>>>>>>>>>> >>>>>>>>>>>>> # View code changes that were marked as added to commit (with git >>>>>>>>>>>>> add) >>>>>>>>>>>>> git diff HEAD >>>>>>>>>>>>> >>>>>>>>>>>>> # Commit (to the local repository) >>>>>>>>>>>>> git commit >>>>>>>>>>>>> >>>>>>>>>>>>> # View the commit log >>>>>>>>>>>>> git log >>>>>>>>>>>>> >>>>>>>>>>>>> # Merge the local repository to the remote repository (upload code >>>>>>>>>>>>> to >>>>>>>>>>>>> SF) >>>>>>>>>>>>> git push >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- Chris >>>>>>>>>>>>>> >>>>>>>>>>>>>> -----Original Message----- >>>>>>>>>>>>>> From: Henrique Almeida [mailto:hd...@gm...] >>>>>>>>>>>>>> Sent: Thursday, 16 July 2009 3:18 p.m. >>>>>>>>>>>>>> To: lib...@li... >>>>>>>>>>>>>> Subject: [libposix-development] bzip2 >>>>>>>>>>>>>> >>>>>>>>>>>>>> I've started implementing functions required by bzip2. I'm trying >>>>>>>>>>>>>> to >>>>>>>>>>>>>> implement them as simple as possible, with only the functionality >>>>>>>>>>>>>> required by bzip2. Example functions are fileno() and strerror(). >>>>>>>>>>>>>> I'll >>>>>>>>>>>>>> begin to implement open() in the next days. >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> ------------------------------------------------------------------------ >>>>>>>>>>>>>> ------ >>>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>>> time, >>>>>>>>>>>>>> >>>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>>> will >>>>>>>>>>>>>> have >>>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>>> full >>>>>>>>>>>>>> prize >>>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>>> time, >>>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>>> will >>>>>>>>>>>>>> have >>>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>>> full >>>>>>>>>>>>>> prize >>>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>> hd...@gm... >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>> hd...@gm... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>>> 30-Day >>>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>>> focus >>>>>>>>>>> on >>>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>> Lib...@li... >>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> John Haitas >>>>>>>>>> jh...@gm... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>> 30-Day >>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>> focus >>>>>>>>>> on >>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>> _______________________________________________ >>>>>>>>>> Libposix-development mailing list >>>>>>>>>> Lib...@li... >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Henrique Dante de Almeida >>>>>>>>> hd...@gm... >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>> 30-Day >>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>> focus >>>>>>>>> on >>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>> _______________________________________________ >>>>>>>>> Libposix-development mailing list >>>>>>>>> Lib...@li... >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> John Haitas >>>>>>>> jh...@gm... >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> John Haitas >>>>>>> jh...@gm... >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>> 30-Day >>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>> focus >>>>>>> on >>>>>>> what you do best, core application coding. Discover what's new with >>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>> _______________________________________________ >>>>>>> Libposix-development mailing list >>>>>>> Lib...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Henrique Dante de Almeida >>>>>> hd...@gm... >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>> 30-Day >>>>>> trial. Simplify your report design, integration and deployment - and focus >>>>>> on >>>>>> what you do best, core application coding. Discover what's new with >>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>> _______________________________________________ >>>>>> Libposix-development mailing list >>>>>> Lib...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> John Haitas >>>>> jh...@gm... >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> John Haitas >>>> jh...@gm... >>>> >>>> ------------------------------------------------------------------------------ >>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>> trial. Simplify your report design, integration and deployment - and focus on >>>> what you do best, core application coding. Discover what's new with >>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>> _______________________________________________ >>>> Libposix-development mailing list >>>> Lib...@li... >>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>> >>> >>> >>> >>> -- >>> Henrique Dante de Almeida >>> hd...@gm... >>> >> >> >> >> -- >> Henrique Dante de Almeida >> hd...@gm... >> > > > > -- > Henrique Dante de Almeida > hd...@gm... > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Libposix-development mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libposix-development > -- John Haitas jh...@gm... |
From: Henrique A. <hd...@gm...> - 2009-08-01 18:20:15
|
Fixed for x86_64 too, which means that we have a malloc. :-D 2009/8/1 Henrique Almeida <hd...@gm...>: > Simple test is working perfectly on linux and freebsd x86. :-) > > 2009/8/1 Henrique Almeida <hd...@gm...>: >> I've fixed compilation in all platforms. Tests are still missing. >> >> 2009/8/1 John Haitas <jh...@gm...>: >>> it seems as if mmap isn't defined for 64bit >>> >>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In function ‘mmap’: >>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>> ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>> (Each undeclared identifier is reported only once >>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >>> for each function it appears in.) >>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>> warning: cast to pointer from integer of different size >>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >>> warning: cast to pointer from integer of different size >>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:64: >>> warning: cast to pointer from integer of different size >>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In >>> function ‘system_open’: >>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:75: >>> warning: cast to pointer from integer of different size >>> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:76: >>> warning: cast to pointer from integer of different size >>> >>> >>> On Sat, Aug 1, 2009 at 1:15 AM, <jh...@gm...> wrote: >>>> its not building on 64bit linux... >>>> >>>> [ 55%] Building C object CMakeFiles/posix.dir/mandatory/printf_scanner.c.o >>>> [ 58%] Building C object CMakeFiles/posix.dir/system/linux/system_calls.c.o >>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>> In function ‘write’: >>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:38: >>>> warning: cast to pointer from integer of different size >>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>> In function ‘_Exit’: >>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:44: >>>> warning: cast to pointer from integer of different size >>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>> In function ‘mmap’: >>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>> error: ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>> error: (Each undeclared identifier is reported only once >>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>>> error: for each function it appears in.) >>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>> warning: cast to pointer from integer of different size >>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>>> warning: cast to pointer from integer of different size >>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:64: >>>> warning: cast to pointer from integer of different size >>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>>> In function ‘system_open’: >>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:75: >>>> warning: cast to pointer from integer of different size >>>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:76: >>>> warning: cast to pointer from integer of different size >>>> make[3]: *** [CMakeFiles/posix.dir/system/linux/system_calls.c.o] Error 1 >>>> make[3]: Leaving directory >>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>> make[2]: *** [CMakeFiles/posix.dir/all] Error 2 >>>> make[2]: Leaving directory >>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>> make[1]: *** [all] Error 2 >>>> make[1]: Leaving directory >>>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>>> make: *** [build] Error 2 >>>> dpkg-buildpackage: failure: debian/rules build gave error exit status 2 >>>> bzr: ERROR: The build failed. >>>> >>>> >>>> On Fri, Jul 31, 2009 at 9:00 PM, Henrique Almeida<hd...@gm...> wrote: >>>>> >>>>> I've fixed the compilation for x86 and included mmap (I've changed >>>>> the sbrk call to mmap). I don't know yet if it compiles under other >>>>> platforms and I haven't tested on any platform, so expect crashes. >>>>> >>>>> 2009/7/31 <jh...@gm...>: >>>>>> >>>>>> The current HEAD doesn't build... My fault... >>>>>> >>>>>> >>>>>> On Fri, Jul 31, 2009 at 3:24 PM, <jh...@gm...> wrote: >>>>>>> >>>>>>> There is one error. Search for sbrk >>>>>>> >>>>>>> On Fri, Jul 31, 2009 at 2:10 PM, Henrique Almeida<hd...@gm...> >>>>>>> wrote: >>>>>>>> >>>>>>>> Yes, that would be a good start. >>>>>>>> >>>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>>> >>>>>>>>> I could get us started by implementing the version of malloc taught in >>>>>>>>> K&R >>>>>>>>> C. >>>>>>>>> >>>>>>>>> Just an thought... >>>>>>>>> >>>>>>>>> On Fri, Jul 31, 2009 at 11:29 AM, Henrique Almeida<hd...@gm...> >>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> I've spent too much time studying dlmalloc and there are still many >>>>>>>>>> details that I don't understand. I'm considering trying alternative >>>>>>>>>> implementations. >>>>>>>>>> >>>>>>>>>> 2009/7/22 Henrique Almeida <hd...@gm...>: >>>>>>>>>>> >>>>>>>>>>> I'm thinking about reimplementing Doug Lea's malloc for libposix, >>>>>>>>>>> at >>>>>>>>>>> least while we don't have threading support. I'm currently studying >>>>>>>>>>> his implementation. malloc is an important function that we're >>>>>>>>>>> missing. >>>>>>>>>>> >>>>>>>>>>> 2009/7/16 Henrique Almeida <hd...@gm...>: >>>>>>>>>>>> >>>>>>>>>>>> 2009/7/16 Chris Forbes <ch...@fa...>: >>>>>>>>>>>>> >>>>>>>>>>>>> I think I've finally got git figured out (unwiring my brain from >>>>>>>>>>>>> using >>>>>>>>>>>>> SVN :(), >>>>>>>>>>>>> so I'll do some of the other functions for bzip2 after work. >>>>>>>>>>>> >>>>>>>>>>>> I have to write a git howto for the project, but I won't have time >>>>>>>>>>>> in >>>>>>>>>>>> the next weeks. The task is at TaskFreak site. Basically, git has >>>>>>>>>>>> two >>>>>>>>>>>> main differences from svn (that make things look complicated), >>>>>>>>>>>> which >>>>>>>>>>>> are multiple repositories (as a natural part of the development) >>>>>>>>>>>> and >>>>>>>>>>>> somewhat different terminology. So, to work with git you first need >>>>>>>>>>>> to >>>>>>>>>>>> recreate your own repository. Then you'll work by commiting >>>>>>>>>>>> frequently >>>>>>>>>>>> to your local repository. When the code is in a usable state for >>>>>>>>>>>> everyone, you merge your repository with SF repository. The >>>>>>>>>>>> commands >>>>>>>>>>>> are the following: >>>>>>>>>>>> >>>>>>>>>>>> # Create a full local clone of the remote repository (and setup >>>>>>>>>>>> remote >>>>>>>>>>>> merges) >>>>>>>>>>>> git clone >>>>>>>>>>>> ssh://hd...@li.../gitroot/libposix >>>>>>>>>>>> >>>>>>>>>>>> # Merge the remote repository in your local repository >>>>>>>>>>>> git pull >>>>>>>>>>>> >>>>>>>>>>>> # Merge the remote repository (other than SF) in your local >>>>>>>>>>>> repository >>>>>>>>>>>> git pull http://remote.repository.com/ >>>>>>>>>>>> >>>>>>>>>>>> # Edit code >>>>>>>>>>>> editor source1 source2 source3 (git is not used) >>>>>>>>>>>> >>>>>>>>>>>> # View list of changed files >>>>>>>>>>>> git status >>>>>>>>>>>> >>>>>>>>>>>> # View code changes >>>>>>>>>>>> git diff >>>>>>>>>>>> >>>>>>>>>>>> # Add files to commit >>>>>>>>>>>> git add source1/dir1 >>>>>>>>>>>> >>>>>>>>>>>> # Remove files >>>>>>>>>>>> git rm source1 >>>>>>>>>>>> >>>>>>>>>>>> # Move files >>>>>>>>>>>> git mv source1 dest1 >>>>>>>>>>>> >>>>>>>>>>>> # View code changes that were marked as added to commit (with git >>>>>>>>>>>> add) >>>>>>>>>>>> git diff HEAD >>>>>>>>>>>> >>>>>>>>>>>> # Commit (to the local repository) >>>>>>>>>>>> git commit >>>>>>>>>>>> >>>>>>>>>>>> # View the commit log >>>>>>>>>>>> git log >>>>>>>>>>>> >>>>>>>>>>>> # Merge the local repository to the remote repository (upload code >>>>>>>>>>>> to >>>>>>>>>>>> SF) >>>>>>>>>>>> git push >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- Chris >>>>>>>>>>>>> >>>>>>>>>>>>> -----Original Message----- >>>>>>>>>>>>> From: Henrique Almeida [mailto:hd...@gm...] >>>>>>>>>>>>> Sent: Thursday, 16 July 2009 3:18 p.m. >>>>>>>>>>>>> To: lib...@li... >>>>>>>>>>>>> Subject: [libposix-development] bzip2 >>>>>>>>>>>>> >>>>>>>>>>>>> I've started implementing functions required by bzip2. I'm trying >>>>>>>>>>>>> to >>>>>>>>>>>>> implement them as simple as possible, with only the functionality >>>>>>>>>>>>> required by bzip2. Example functions are fileno() and strerror(). >>>>>>>>>>>>> I'll >>>>>>>>>>>>> begin to implement open() in the next days. >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>>> hd...@gm... >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> ------------------------------------------------------------------------ >>>>>>>>>>>>> ------ >>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>> time, >>>>>>>>>>>>> >>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>> will >>>>>>>>>>>>> have >>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>> full >>>>>>>>>>>>> prize >>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>>> time, >>>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>>> will >>>>>>>>>>>>> have >>>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>>> full >>>>>>>>>>>>> prize >>>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>>> Lib...@li... >>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>> hd...@gm... >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>> hd...@gm... >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>> hd...@gm... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>>> 30-Day >>>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>>> focus >>>>>>>>>> on >>>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>>> _______________________________________________ >>>>>>>>>> Libposix-development mailing list >>>>>>>>>> Lib...@li... >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> John Haitas >>>>>>>>> jh...@gm... >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>> 30-Day >>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>> focus >>>>>>>>> on >>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>> _______________________________________________ >>>>>>>>> Libposix-development mailing list >>>>>>>>> Lib...@li... >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Henrique Dante de Almeida >>>>>>>> hd...@gm... >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------------------------------ >>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>> 30-Day >>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>> focus >>>>>>>> on >>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>> _______________________________________________ >>>>>>>> Libposix-development mailing list >>>>>>>> Lib...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> John Haitas >>>>>>> jh...@gm... >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> John Haitas >>>>>> jh...@gm... >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>> 30-Day >>>>>> trial. Simplify your report design, integration and deployment - and >>>>>> focus >>>>>> on >>>>>> what you do best, core application coding. Discover what's new with >>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>> _______________________________________________ >>>>>> Libposix-development mailing list >>>>>> Lib...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Henrique Dante de Almeida >>>>> hd...@gm... >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>> 30-Day >>>>> trial. Simplify your report design, integration and deployment - and focus >>>>> on >>>>> what you do best, core application coding. Discover what's new with >>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>> _______________________________________________ >>>>> Libposix-development mailing list >>>>> Lib...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>> >>>> >>>> >>>> >>>> -- >>>> John Haitas >>>> jh...@gm... >>>> >>>> >>> >>> >>> >>> -- >>> John Haitas >>> jh...@gm... >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Libposix-development mailing list >>> Lib...@li... >>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>> >> >> >> >> -- >> Henrique Dante de Almeida >> hd...@gm... >> > > > > -- > Henrique Dante de Almeida > hd...@gm... > -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-08-01 18:13:22
|
Simple test is working perfectly on linux and freebsd x86. :-) 2009/8/1 Henrique Almeida <hd...@gm...>: > I've fixed compilation in all platforms. Tests are still missing. > > 2009/8/1 John Haitas <jh...@gm...>: >> it seems as if mmap isn't defined for 64bit >> >> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In function ‘mmap’: >> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >> ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >> (Each undeclared identifier is reported only once >> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: >> for each function it appears in.) >> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >> warning: cast to pointer from integer of different size >> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: >> warning: cast to pointer from integer of different size >> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:64: >> warning: cast to pointer from integer of different size >> /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In >> function ‘system_open’: >> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:75: >> warning: cast to pointer from integer of different size >> /home/jhaitas/src/libposix-git/system/linux/system_calls.c:76: >> warning: cast to pointer from integer of different size >> >> >> On Sat, Aug 1, 2009 at 1:15 AM, <jh...@gm...> wrote: >>> its not building on 64bit linux... >>> >>> [ 55%] Building C object CMakeFiles/posix.dir/mandatory/printf_scanner.c.o >>> [ 58%] Building C object CMakeFiles/posix.dir/system/linux/system_calls.c.o >>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>> In function ‘write’: >>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:38: >>> warning: cast to pointer from integer of different size >>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>> In function ‘_Exit’: >>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:44: >>> warning: cast to pointer from integer of different size >>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>> In function ‘mmap’: >>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>> error: ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>> error: (Each undeclared identifier is reported only once >>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >>> error: for each function it appears in.) >>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>> warning: cast to pointer from integer of different size >>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >>> warning: cast to pointer from integer of different size >>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:64: >>> warning: cast to pointer from integer of different size >>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >>> In function ‘system_open’: >>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:75: >>> warning: cast to pointer from integer of different size >>> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:76: >>> warning: cast to pointer from integer of different size >>> make[3]: *** [CMakeFiles/posix.dir/system/linux/system_calls.c.o] Error 1 >>> make[3]: Leaving directory >>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>> make[2]: *** [CMakeFiles/posix.dir/all] Error 2 >>> make[2]: Leaving directory >>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>> make[1]: *** [all] Error 2 >>> make[1]: Leaving directory >>> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >>> make: *** [build] Error 2 >>> dpkg-buildpackage: failure: debian/rules build gave error exit status 2 >>> bzr: ERROR: The build failed. >>> >>> >>> On Fri, Jul 31, 2009 at 9:00 PM, Henrique Almeida<hd...@gm...> wrote: >>>> >>>> I've fixed the compilation for x86 and included mmap (I've changed >>>> the sbrk call to mmap). I don't know yet if it compiles under other >>>> platforms and I haven't tested on any platform, so expect crashes. >>>> >>>> 2009/7/31 <jh...@gm...>: >>>>> >>>>> The current HEAD doesn't build... My fault... >>>>> >>>>> >>>>> On Fri, Jul 31, 2009 at 3:24 PM, <jh...@gm...> wrote: >>>>>> >>>>>> There is one error. Search for sbrk >>>>>> >>>>>> On Fri, Jul 31, 2009 at 2:10 PM, Henrique Almeida<hd...@gm...> >>>>>> wrote: >>>>>>> >>>>>>> Yes, that would be a good start. >>>>>>> >>>>>>> 2009/7/31 <jh...@gm...>: >>>>>>>> >>>>>>>> I could get us started by implementing the version of malloc taught in >>>>>>>> K&R >>>>>>>> C. >>>>>>>> >>>>>>>> Just an thought... >>>>>>>> >>>>>>>> On Fri, Jul 31, 2009 at 11:29 AM, Henrique Almeida<hd...@gm...> >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> I've spent too much time studying dlmalloc and there are still many >>>>>>>>> details that I don't understand. I'm considering trying alternative >>>>>>>>> implementations. >>>>>>>>> >>>>>>>>> 2009/7/22 Henrique Almeida <hd...@gm...>: >>>>>>>>>> >>>>>>>>>> I'm thinking about reimplementing Doug Lea's malloc for libposix, >>>>>>>>>> at >>>>>>>>>> least while we don't have threading support. I'm currently studying >>>>>>>>>> his implementation. malloc is an important function that we're >>>>>>>>>> missing. >>>>>>>>>> >>>>>>>>>> 2009/7/16 Henrique Almeida <hd...@gm...>: >>>>>>>>>>> >>>>>>>>>>> 2009/7/16 Chris Forbes <ch...@fa...>: >>>>>>>>>>>> >>>>>>>>>>>> I think I've finally got git figured out (unwiring my brain from >>>>>>>>>>>> using >>>>>>>>>>>> SVN :(), >>>>>>>>>>>> so I'll do some of the other functions for bzip2 after work. >>>>>>>>>>> >>>>>>>>>>> I have to write a git howto for the project, but I won't have time >>>>>>>>>>> in >>>>>>>>>>> the next weeks. The task is at TaskFreak site. Basically, git has >>>>>>>>>>> two >>>>>>>>>>> main differences from svn (that make things look complicated), >>>>>>>>>>> which >>>>>>>>>>> are multiple repositories (as a natural part of the development) >>>>>>>>>>> and >>>>>>>>>>> somewhat different terminology. So, to work with git you first need >>>>>>>>>>> to >>>>>>>>>>> recreate your own repository. Then you'll work by commiting >>>>>>>>>>> frequently >>>>>>>>>>> to your local repository. When the code is in a usable state for >>>>>>>>>>> everyone, you merge your repository with SF repository. The >>>>>>>>>>> commands >>>>>>>>>>> are the following: >>>>>>>>>>> >>>>>>>>>>> # Create a full local clone of the remote repository (and setup >>>>>>>>>>> remote >>>>>>>>>>> merges) >>>>>>>>>>> git clone >>>>>>>>>>> ssh://hd...@li.../gitroot/libposix >>>>>>>>>>> >>>>>>>>>>> # Merge the remote repository in your local repository >>>>>>>>>>> git pull >>>>>>>>>>> >>>>>>>>>>> # Merge the remote repository (other than SF) in your local >>>>>>>>>>> repository >>>>>>>>>>> git pull http://remote.repository.com/ >>>>>>>>>>> >>>>>>>>>>> # Edit code >>>>>>>>>>> editor source1 source2 source3 (git is not used) >>>>>>>>>>> >>>>>>>>>>> # View list of changed files >>>>>>>>>>> git status >>>>>>>>>>> >>>>>>>>>>> # View code changes >>>>>>>>>>> git diff >>>>>>>>>>> >>>>>>>>>>> # Add files to commit >>>>>>>>>>> git add source1/dir1 >>>>>>>>>>> >>>>>>>>>>> # Remove files >>>>>>>>>>> git rm source1 >>>>>>>>>>> >>>>>>>>>>> # Move files >>>>>>>>>>> git mv source1 dest1 >>>>>>>>>>> >>>>>>>>>>> # View code changes that were marked as added to commit (with git >>>>>>>>>>> add) >>>>>>>>>>> git diff HEAD >>>>>>>>>>> >>>>>>>>>>> # Commit (to the local repository) >>>>>>>>>>> git commit >>>>>>>>>>> >>>>>>>>>>> # View the commit log >>>>>>>>>>> git log >>>>>>>>>>> >>>>>>>>>>> # Merge the local repository to the remote repository (upload code >>>>>>>>>>> to >>>>>>>>>>> SF) >>>>>>>>>>> git push >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- Chris >>>>>>>>>>>> >>>>>>>>>>>> -----Original Message----- >>>>>>>>>>>> From: Henrique Almeida [mailto:hd...@gm...] >>>>>>>>>>>> Sent: Thursday, 16 July 2009 3:18 p.m. >>>>>>>>>>>> To: lib...@li... >>>>>>>>>>>> Subject: [libposix-development] bzip2 >>>>>>>>>>>> >>>>>>>>>>>> I've started implementing functions required by bzip2. I'm trying >>>>>>>>>>>> to >>>>>>>>>>>> implement them as simple as possible, with only the functionality >>>>>>>>>>>> required by bzip2. Example functions are fileno() and strerror(). >>>>>>>>>>>> I'll >>>>>>>>>>>> begin to implement open() in the next days. >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>>> hd...@gm... >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ------------------------------------------------------------------------ >>>>>>>>>>>> ------ >>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>> time, >>>>>>>>>>>> >>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>> will >>>>>>>>>>>> have >>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>> full >>>>>>>>>>>> prize >>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>> Lib...@li... >>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>>> time, >>>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>>> will >>>>>>>>>>>> have >>>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>>> full >>>>>>>>>>>> prize >>>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>>> Lib...@li... >>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>> hd...@gm... >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>> hd...@gm... >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Henrique Dante de Almeida >>>>>>>>> hd...@gm... >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>>> 30-Day >>>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>>> focus >>>>>>>>> on >>>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>>> _______________________________________________ >>>>>>>>> Libposix-development mailing list >>>>>>>>> Lib...@li... >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> John Haitas >>>>>>>> jh...@gm... >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------------------------------ >>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>> 30-Day >>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>> focus >>>>>>>> on >>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>> _______________________________________________ >>>>>>>> Libposix-development mailing list >>>>>>>> Lib...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Henrique Dante de Almeida >>>>>>> hd...@gm... >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>> 30-Day >>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>> focus >>>>>>> on >>>>>>> what you do best, core application coding. Discover what's new with >>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>> _______________________________________________ >>>>>>> Libposix-development mailing list >>>>>>> Lib...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> John Haitas >>>>>> jh...@gm... >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> John Haitas >>>>> jh...@gm... >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>> 30-Day >>>>> trial. Simplify your report design, integration and deployment - and >>>>> focus >>>>> on >>>>> what you do best, core application coding. Discover what's new with >>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>> _______________________________________________ >>>>> Libposix-development mailing list >>>>> Lib...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> Henrique Dante de Almeida >>>> hd...@gm... >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>> 30-Day >>>> trial. Simplify your report design, integration and deployment - and focus >>>> on >>>> what you do best, core application coding. Discover what's new with >>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>> _______________________________________________ >>>> Libposix-development mailing list >>>> Lib...@li... >>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>> >>> >>> >>> >>> -- >>> John Haitas >>> jh...@gm... >>> >>> >> >> >> >> -- >> John Haitas >> jh...@gm... >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Libposix-development mailing list >> Lib...@li... >> https://lists.sourceforge.net/lists/listinfo/libposix-development >> > > > > -- > Henrique Dante de Almeida > hd...@gm... > -- Henrique Dante de Almeida hd...@gm... |
From: Henrique A. <hd...@gm...> - 2009-08-01 15:06:05
|
I've fixed compilation in all platforms. Tests are still missing. 2009/8/1 John Haitas <jh...@gm...>: > it seems as if mmap isn't defined for 64bit > > /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In function ‘mmap’: > /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: > ‘LINUX_SYS_mmap2’ undeclared (first use in this function) > /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: > (Each undeclared identifier is reported only once > /home/jhaitas/src/libposix-git/system/linux/system_calls.c:62: error: > for each function it appears in.) > /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: > warning: cast to pointer from integer of different size > /home/jhaitas/src/libposix-git/system/linux/system_calls.c:63: > warning: cast to pointer from integer of different size > /home/jhaitas/src/libposix-git/system/linux/system_calls.c:64: > warning: cast to pointer from integer of different size > /home/jhaitas/src/libposix-git/system/linux/system_calls.c: In > function ‘system_open’: > /home/jhaitas/src/libposix-git/system/linux/system_calls.c:75: > warning: cast to pointer from integer of different size > /home/jhaitas/src/libposix-git/system/linux/system_calls.c:76: > warning: cast to pointer from integer of different size > > > On Sat, Aug 1, 2009 at 1:15 AM, <jh...@gm...> wrote: >> its not building on 64bit linux... >> >> [ 55%] Building C object CMakeFiles/posix.dir/mandatory/printf_scanner.c.o >> [ 58%] Building C object CMakeFiles/posix.dir/system/linux/system_calls.c.o >> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >> In function ‘write’: >> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:38: >> warning: cast to pointer from integer of different size >> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >> In function ‘_Exit’: >> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:44: >> warning: cast to pointer from integer of different size >> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >> In function ‘mmap’: >> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >> error: ‘LINUX_SYS_mmap2’ undeclared (first use in this function) >> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >> error: (Each undeclared identifier is reported only once >> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:62: >> error: for each function it appears in.) >> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >> warning: cast to pointer from integer of different size >> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:63: >> warning: cast to pointer from integer of different size >> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:64: >> warning: cast to pointer from integer of different size >> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c: >> In function ‘system_open’: >> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:75: >> warning: cast to pointer from integer of different size >> /home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5/system/linux/system_calls.c:76: >> warning: cast to pointer from integer of different size >> make[3]: *** [CMakeFiles/posix.dir/system/linux/system_calls.c.o] Error 1 >> make[3]: Leaving directory >> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >> make[2]: *** [CMakeFiles/posix.dir/all] Error 2 >> make[2]: Leaving directory >> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory >> `/home/jhaitas/src/build-area/libposix-0.0.3+git20090731t2300x80072a5' >> make: *** [build] Error 2 >> dpkg-buildpackage: failure: debian/rules build gave error exit status 2 >> bzr: ERROR: The build failed. >> >> >> On Fri, Jul 31, 2009 at 9:00 PM, Henrique Almeida<hd...@gm...> wrote: >>> >>> I've fixed the compilation for x86 and included mmap (I've changed >>> the sbrk call to mmap). I don't know yet if it compiles under other >>> platforms and I haven't tested on any platform, so expect crashes. >>> >>> 2009/7/31 <jh...@gm...>: >>>> >>>> The current HEAD doesn't build... My fault... >>>> >>>> >>>> On Fri, Jul 31, 2009 at 3:24 PM, <jh...@gm...> wrote: >>>>> >>>>> There is one error. Search for sbrk >>>>> >>>>> On Fri, Jul 31, 2009 at 2:10 PM, Henrique Almeida<hd...@gm...> >>>>> wrote: >>>>>> >>>>>> Yes, that would be a good start. >>>>>> >>>>>> 2009/7/31 <jh...@gm...>: >>>>>>> >>>>>>> I could get us started by implementing the version of malloc taught in >>>>>>> K&R >>>>>>> C. >>>>>>> >>>>>>> Just an thought... >>>>>>> >>>>>>> On Fri, Jul 31, 2009 at 11:29 AM, Henrique Almeida<hd...@gm...> >>>>>>> wrote: >>>>>>>> >>>>>>>> I've spent too much time studying dlmalloc and there are still many >>>>>>>> details that I don't understand. I'm considering trying alternative >>>>>>>> implementations. >>>>>>>> >>>>>>>> 2009/7/22 Henrique Almeida <hd...@gm...>: >>>>>>>>> >>>>>>>>> I'm thinking about reimplementing Doug Lea's malloc for libposix, >>>>>>>>> at >>>>>>>>> least while we don't have threading support. I'm currently studying >>>>>>>>> his implementation. malloc is an important function that we're >>>>>>>>> missing. >>>>>>>>> >>>>>>>>> 2009/7/16 Henrique Almeida <hd...@gm...>: >>>>>>>>>> >>>>>>>>>> 2009/7/16 Chris Forbes <ch...@fa...>: >>>>>>>>>>> >>>>>>>>>>> I think I've finally got git figured out (unwiring my brain from >>>>>>>>>>> using >>>>>>>>>>> SVN :(), >>>>>>>>>>> so I'll do some of the other functions for bzip2 after work. >>>>>>>>>> >>>>>>>>>> I have to write a git howto for the project, but I won't have time >>>>>>>>>> in >>>>>>>>>> the next weeks. The task is at TaskFreak site. Basically, git has >>>>>>>>>> two >>>>>>>>>> main differences from svn (that make things look complicated), >>>>>>>>>> which >>>>>>>>>> are multiple repositories (as a natural part of the development) >>>>>>>>>> and >>>>>>>>>> somewhat different terminology. So, to work with git you first need >>>>>>>>>> to >>>>>>>>>> recreate your own repository. Then you'll work by commiting >>>>>>>>>> frequently >>>>>>>>>> to your local repository. When the code is in a usable state for >>>>>>>>>> everyone, you merge your repository with SF repository. The >>>>>>>>>> commands >>>>>>>>>> are the following: >>>>>>>>>> >>>>>>>>>> # Create a full local clone of the remote repository (and setup >>>>>>>>>> remote >>>>>>>>>> merges) >>>>>>>>>> git clone >>>>>>>>>> ssh://hd...@li.../gitroot/libposix >>>>>>>>>> >>>>>>>>>> # Merge the remote repository in your local repository >>>>>>>>>> git pull >>>>>>>>>> >>>>>>>>>> # Merge the remote repository (other than SF) in your local >>>>>>>>>> repository >>>>>>>>>> git pull http://remote.repository.com/ >>>>>>>>>> >>>>>>>>>> # Edit code >>>>>>>>>> editor source1 source2 source3 (git is not used) >>>>>>>>>> >>>>>>>>>> # View list of changed files >>>>>>>>>> git status >>>>>>>>>> >>>>>>>>>> # View code changes >>>>>>>>>> git diff >>>>>>>>>> >>>>>>>>>> # Add files to commit >>>>>>>>>> git add source1/dir1 >>>>>>>>>> >>>>>>>>>> # Remove files >>>>>>>>>> git rm source1 >>>>>>>>>> >>>>>>>>>> # Move files >>>>>>>>>> git mv source1 dest1 >>>>>>>>>> >>>>>>>>>> # View code changes that were marked as added to commit (with git >>>>>>>>>> add) >>>>>>>>>> git diff HEAD >>>>>>>>>> >>>>>>>>>> # Commit (to the local repository) >>>>>>>>>> git commit >>>>>>>>>> >>>>>>>>>> # View the commit log >>>>>>>>>> git log >>>>>>>>>> >>>>>>>>>> # Merge the local repository to the remote repository (upload code >>>>>>>>>> to >>>>>>>>>> SF) >>>>>>>>>> git push >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- Chris >>>>>>>>>>> >>>>>>>>>>> -----Original Message----- >>>>>>>>>>> From: Henrique Almeida [mailto:hd...@gm...] >>>>>>>>>>> Sent: Thursday, 16 July 2009 3:18 p.m. >>>>>>>>>>> To: lib...@li... >>>>>>>>>>> Subject: [libposix-development] bzip2 >>>>>>>>>>> >>>>>>>>>>> I've started implementing functions required by bzip2. I'm trying >>>>>>>>>>> to >>>>>>>>>>> implement them as simple as possible, with only the functionality >>>>>>>>>>> required by bzip2. Example functions are fileno() and strerror(). >>>>>>>>>>> I'll >>>>>>>>>>> begin to implement open() in the next days. >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>>> hd...@gm... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ------------------------------------------------------------------------ >>>>>>>>>>> ------ >>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>> time, >>>>>>>>>>> >>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>> will >>>>>>>>>>> have >>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>> full >>>>>>>>>>> prize >>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>> Lib...@li... >>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>>>> Enter the BlackBerry Developer Challenge >>>>>>>>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>>>>>>>> time, >>>>>>>>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>>>>>>>> will >>>>>>>>>>> have >>>>>>>>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>>>>>>>> full >>>>>>>>>>> prize >>>>>>>>>>> details at: http://p.sf.net/sfu/Challenge >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Libposix-development mailing list >>>>>>>>>>> Lib...@li... >>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Henrique Dante de Almeida >>>>>>>>>> hd...@gm... >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Henrique Dante de Almeida >>>>>>>>> hd...@gm... >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Henrique Dante de Almeida >>>>>>>> hd...@gm... >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------------------------------ >>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>>> 30-Day >>>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>>> focus >>>>>>>> on >>>>>>>> what you do best, core application coding. Discover what's new with >>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>>> _______________________________________________ >>>>>>>> Libposix-development mailing list >>>>>>>> Lib...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> John Haitas >>>>>>> jh...@gm... >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>>> 30-Day >>>>>>> trial. Simplify your report design, integration and deployment - and >>>>>>> focus >>>>>>> on >>>>>>> what you do best, core application coding. Discover what's new with >>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>>> _______________________________________________ >>>>>>> Libposix-development mailing list >>>>>>> Lib...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Henrique Dante de Almeida >>>>>> hd...@gm... >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>>> 30-Day >>>>>> trial. Simplify your report design, integration and deployment - and >>>>>> focus >>>>>> on >>>>>> what you do best, core application coding. Discover what's new with >>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>>> _______________________________________________ >>>>>> Libposix-development mailing list >>>>>> Lib...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> John Haitas >>>>> jh...@gm... >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> John Haitas >>>> jh...@gm... >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>> 30-Day >>>> trial. Simplify your report design, integration and deployment - and >>>> focus >>>> on >>>> what you do best, core application coding. Discover what's new with >>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>> _______________________________________________ >>>> Libposix-development mailing list >>>> Lib...@li... >>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>> >>>> >>> >>> >>> >>> -- >>> Henrique Dante de Almeida >>> hd...@gm... >>> >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> 30-Day >>> trial. Simplify your report design, integration and deployment - and focus >>> on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Libposix-development mailing list >>> Lib...@li... >>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>> >> >> >> >> -- >> John Haitas >> jh...@gm... >> >> > > > > -- > John Haitas > jh...@gm... > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Libposix-development mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libposix-development > -- Henrique Dante de Almeida hd...@gm... |