similar to: [PATCH] febootstrap-supermin-helper: Replace objcopy call for embedding init binary

Displaying 20 results from an estimated 300 matches similar to: "[PATCH] febootstrap-supermin-helper: Replace objcopy call for embedding init binary"

2017 Aug 23
2
[PATCH v2 supermin 0/1] Fix embedding of init
Hi, this patch replaces the first simpler version: https://www.redhat.com/archives/libguestfs/2017-August/msg00117.html The approach now is to use a C snippet, which should pose way less compatibility issues. Thanks, Pino Toscano (1): Switch binary embedding to a C source .gitignore | 2 +- src/Makefile.am | 18 +++++++++--------- src/{bin2s.pl => bin2c.pl} |
2017 Aug 23
0
[PATCH v2 supermin 1/1] Switch binary embedding to a C source
The current approach of writing a custom assembler snippet has few issues: - the assembler needs to manually things like the correct section, disabling the executable stack, and so on - the symbols are global, and exported with an awkward interface (i.e. uint8_t offsets) - the assembler source is built with a manual rule - the embedded data is not properly aligned according to the needs of
2017 Aug 23
1
[PATCH supermin] bin2s: make sure the data is aligned
Not all the architectures can cope correctly with unaligned data, and thus the embedded init written is bogus (since it will contain random padding at the beginning, and truncated of the same amount at the end). To overcome that, make sure the rodata section with the embedded init is always aligned to 8 bytes, which should work fine for both 32bit and 64bit architectures. --- src/bin2s.pl | 1 +
2016 Feb 17
8
[PATCH supermin 0/2] Allow an alternate libc to be used for init.
v1 -> v2: - If we split out the init program into a separate init/ directory, that makes it much easier to build against an alternate libc. I tried to build against uClibc, but uClibc requires an entire build chain, which looked like it was going to be a massive ballache. Rich.
2015 Dec 31
0
[PATCH] init: Use .rodata instead of .data.
This allows sharing of the read only data between supermin binaries running on the same machine. Thanks: Christian Vogel See thread: https://news.ycombinator.com/item?id=10816921 --- src/bin2s.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin2s.pl b/src/bin2s.pl index 0f892f8..ccb060b 100755 --- a/src/bin2s.pl +++ b/src/bin2s.pl @@ -26,7 +26,7 @@ print $ofh
2014 May 02
5
[PATCH 1/3] build: fix srcdir!=builddir builds
Fix the build system to support a build directory different than the source directory: - fix the include path to gnulib - properly depend on and use files in the source directory - fix the ocaml dependency calculation, making sure it picks the files from all the places --- src/Makefile.am | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Makefile.am
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
--- .gitignore | 6 +- .gitmodules | 3 - HACKING | 41 +++ Makefile.am | 6 +- README | 7 +- TODO | 61 +--- autobuild.sh | 65 ---- autogen.sh | 12 - configure.ac | 27
2016 Dec 07
5
[PATCH 0/3] Miscellaneous improvements to supermin.
Document what each module does, using *.mli files. Remove the --dtb option, it's obsolete. Rename modules according to their purpose. Rich.
2016 Jan 12
2
Re: Note regarding bin2s.pl
On Tue, Jan 12, 2016 at 07:57:03AM +0100, Hilko Bengen wrote: > Helge, > > I have applied all the architecture-specific bits but not the bin2s > script yet. TBH, so far I don't see what is wrong about export and use > of the "_binary_init_size" constant. [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809185] I see it as a reasonable simplification - it allows us
2014 Mar 03
2
[PATCH] supermin: Fix build with bytecode compiler
--- src/Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 7f99b8a..932881b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -104,17 +104,18 @@ supermin_CFLAGS = \ BOBJECTS = $(SOURCES_ML:.ml=.cmo) XOBJECTS = $(SOURCES_ML:.ml=.cmx) +OCAMLPACKAGES = -package unix,str +OCAMLFLAGS = -warn-error CDEFLMPSUVXYZ + if
2016 Jan 12
2
Re: Note regarding bin2s.pl
On 12.01.2016 12:10, Richard W.M. Jones wrote: > On Tue, Jan 12, 2016 at 10:05:00AM +0000, Richard W.M. Jones wrote: >> On Tue, Jan 12, 2016 at 07:57:03AM +0100, Hilko Bengen wrote: >>> Helge, >>> >>> I have applied all the architecture-specific bits but not the bin2s >>> script yet. TBH, so far I don't see what is wrong about export and use
2016 Jan 12
0
Re: Note regarding bin2s.pl
On Tue, Jan 12, 2016 at 10:05:00AM +0000, Richard W.M. Jones wrote: > On Tue, Jan 12, 2016 at 07:57:03AM +0100, Hilko Bengen wrote: > > Helge, > > > > I have applied all the architecture-specific bits but not the bin2s > > script yet. TBH, so far I don't see what is wrong about export and use > > of the "_binary_init_size" constant. > >
2016 Jan 12
0
Re: Note regarding bin2s.pl
On Tue, Jan 12, 2016 at 06:21:14PM +0100, Helge Deller wrote: > On 12.01.2016 12:10, Richard W.M. Jones wrote: > > On Tue, Jan 12, 2016 at 10:05:00AM +0000, Richard W.M. Jones wrote: > >> On Tue, Jan 12, 2016 at 07:57:03AM +0100, Hilko Bengen wrote: > >>> Helge, > >>> > >>> I have applied all the architecture-specific bits but not the bin2s
2013 Jul 15
2
Serialize data.frame to database
Dear R-Users, I need a very fast and reliable database solution so I try to serialize a data.frame (to binary data) and to store this data to an SQLite database. This is what I tried to do: library(RSQLite) con <- dbDriver("SQLite") db <- dbConnect(con, "test") dbSendQuery(db, 'CREATE TABLE frames("simID" INT, "data" BLOB)') data.bin <-
2010 Apr 13
1
Binning Question
Hi, I'm trying to setup some complicated binning with statistics and could use a little help. I've found the bin2 function from the ash package, but it doesn't do everything I need. My intention is to copy some of their code and then modify as needed. I have a vector of two columns: head(data) r1 r2 [1,] 0.03516559 0.03102128 [2,] 0.02162539 0.14847034
2007 Apr 16
1
Stuck on MySQL UPDATE
What I'm retrying to do is update mysql field with the new message ID that was just recorded. Ideally, I'd like to specify the field to update using a variable ${BINID} and use ${NEWPHRASENAME} for the value - I'm not sure asterisk will allow using a variable for the field name and if not, I'll attempt to create an exten for each bin to update. Here the method I'd like to
2011 Dec 17
1
Binning a 2 column matrix by avarages of rows.
Newbie here. Many apologies in advance for using the incorrect lingo. I'm new to statistics and VERY new to R. I have a "nx2" matrix , I want to sort the values based on the average of 2 columns and put k lowest (or highest) values in bin1, second k high/low values in bin2, and so on (bins would be of the same dimensions). I should also know what the first index (or position) of
2011 Apr 12
1
How to set the dimension of a matrix correctly?
Hi all, I use kriging to interpolate the precipitation from stations, but the map of this results show lots of stripes. (please see the attachment)I think there's something wrong with the setting of the dimension of this matrix, however, I have no idea how to know or test to see if this setting is correct or not.I've tried to switch the latitude and longitude, but still got the same
2005 Mar 31
2
[Bug 1008] GSSAPI authentication failes with Round Robin DNS hosts
http://bugzilla.mindrot.org/show_bug.cgi?id=1008 Summary: GSSAPI authentication failes with Round Robin DNS hosts Product: Portable OpenSSH Version: -current Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Kerberos support AssignedTo: openssh-bugs at mindrot.org
2010 Sep 29
0
err: Could not run Puppet configuration client: Could not find a default provider for augeas
Hello, I get these message when i try to run puppet with augeas. Puppet Version are 2.6.1 on server and client. The ouput of the puppet Client with debug: debug: Failed to load library ''selinux'' for feature ''selinux'' debug: Failed to load library ''shadow'' for feature ''libshadow'' debug: