Thread: [libposix-development] bzip2
Status: Pre-Alpha
Brought to you by:
hdante
From: Henrique A. <hd...@gm...> - 2009-07-16 03:18:20
|
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... |
From: Chris F. <ch...@fa...> - 2009-07-16 03:21:44
|
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. -- 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 |
From: Henrique A. <hd...@gm...> - 2009-07-16 17:22:15
|
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... |
From: Henrique A. <hd...@gm...> - 2009-07-23 00:09:34
|
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... |
From: Henrique A. <hd...@gm...> - 2009-07-31 16:29:54
|
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... |
From: <jh...@gm...> - 2009-07-31 17:57:21
Attachments:
signature.asc
|
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... |
From: Henrique A. <hd...@gm...> - 2009-07-31 19:11:12
|
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... |
From: <jh...@gm...> - 2009-07-31 20:24:59
Attachments:
signature.asc
|
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... |
From: <jh...@gm...> - 2009-07-31 20:35:20
Attachments:
signature.asc
|
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... |
From: Henrique A. <hd...@gm...> - 2009-08-01 02:00:51
|
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... |
From: <jh...@gm...> - 2009-08-01 06:15:23
Attachments:
signature.asc
|
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... |
From: John H. <jh...@gm...> - 2009-08-01 06:35:00
|
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... |
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... |
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 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: 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: 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: 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-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-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: 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-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... |