postgresql: enable bfin compile
PATCH v3 3/8 postgresql: enable bfin compile
Hello Thomas,
Quoted 11 lines · Thomas Petazzoni
Dear Peter Seiderer,
Quoted 4 lines · Peter Seiderer
- overwrite platform support with linux template
- disable spinlock supportSigned-off-by Peter Seiderer <[email protected]>postgresql uses
fork(), which is not available on Blackfin:
http://autobuild.buildroot.org/results/c9c/c9c93156fe64e89f35627aa592c47d8c5181ed7d/build-end.log.
Will provide a patch for postgresql to check for fork/BR2_USE_MMU, is there any special string for the comment besides 'needs threads'?
Quoted 1 line
So what was the point of enabling postgresql on Blackfin ?
No special point, had the build environment still from [1] around...
In retrospect (in case bfin is disabled because of fork) the patch subject should have been something different...
Regards,
Peter
[1] http://git.buildroot.net/buildroot/commit/?id=fc2e91d5bd32047055a611ed0d62f050bc90377c
Quoted 6 lines
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v3 3/8 postgresql: enable bfin compile
Dear Peter Seiderer,
Quoted 2 lines · Peter Seiderer
Will provide a patch for postgresql to check for fork/BR2_USE_MMU, is there any special string for the comment besides 'needs threads'?
No there is no comment about a BR2_USE_MMU dependency, because it's not something the user can "fix" : if your architecture doesn't have a MMU, it's like this, there's nothing you can do about it.
Quoted 4 lines
No special point, had the build environment still from [1] around...
In retrospect (in case bfin is disabled because of fork) the patch subject should have been something different...
Well, the patch by itself is then completely useless, because Blackfin is a noMMU architecture, so postgresql will never work on it.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com