Greetings List Lurkers,
Marvelous Marco submits this for our consternation:
<snip>
I was recently messing around with embedding files into ELF executables
and came across this strange behavior:
#include <stdio.h>
// extern unsigned char *_binary_data_txt_start; /* doesn't work */
extern unsigned char _binary_data_txt_start[]; /* does work */
int main() {
printf("%p\n", _binary_data_txt_start);
}
This file segfaults when using the pointer (*) notation, but runs
correctly with the array notation ([]).
I'm compiling with the command:
gcc test.c -o test -Wl,--format=binary,data.txt,--format=default -g
With the above in a file called test.c and some data in a file called
data.txt.
I asked for some explanation but I kept getting back "That makes sense"
with no explanation....
Interesting stuff
<snap>
Jeez! When does Marco sleep?
In any event, you can again expect sunny and realized technical acumen in the
Hedding United Methodist Basement when we meet today 5-7 PM.
We will continue to monitor with Joe Hart, the impending death of Google
Hangouts, as well as his realization that maybe there are better countries to
live in.
Hopefully DTG, who actually got the docker container system working, will hold
forth on getting data working in the container...
http://docbox.flint.com:8081/zope#DockerZOPE...
...Can get back to it.
I am in the middle of building a new home and garden facility, thus I
remain most interested in the concept called a "Growbot" as built in the
surviving downstairs "Gardentronics" home shop in the basement, this
workshop survived with heavy water damage. My library, shop and tools are
all gone, but we are rebuilding...
So read no further. We will have a Swim tonight.
I maintain a floundering vision to redo this newsletter, as time and my other
disasters permit....
Remember, Barre indeed remains a great venue for a Linux and Open Source
Software discussion and general system rejuvenation. Expect to be remotely
preached at on the various topics of Open Source and how I am confident it
shall cure all the evils and ills of this wicked world. In a perfect meeting,
people would come in, sit down, see the stuff we have been doing and hopefully
help us get the DIY stuff we are doing done, or maybe just fix a laptop.
Directions to the Adult Swim:
http://docbox.flint.com:8080/bosivt.org/directions or, go to http://bosivt.org
and click on directions.
Show up at Hedding UMC (40 Washington Street, Barre Vermont 05641) if you have
questions or are interested in Linux or the concept of free and open systems.
Again, we are in the basement of the Hedding UMC facility which we like pretty
well.
If you wish to be included on the "Linux_adult_swim" mailing list, send a
response to this note, or contact me.
Kindest Regards,
Paul Flint
(802) 479-2360
(802) 595-9365 Cell
/************************************
Based upon email reliability concerns,
please send an acknowledgment in response to this note.
Paul Flint, Director
Barre Open Systems Institute
17 Averill Street
Barre, VT
05641
http://www.bosivt.org
http://family.flint.com/flint
Gplus: [email protected]
Skype: flintinfotech
Work: (202) 537-0480