[sqlite] Build fail: undefined reference to `pthread_create'

2016-01-28 Thread jungle Boogie
Hi Robert,
On 27 January 2016 at 14:20, Robert Weiss  wrote:
> A few builds ago I got a similar message.  I don't recall whether I actively 
> tried to use threads or got blindsided by change.  The short story is that 
> linking in libpthread caused the build to succeed.  The longer story is that 
> threads were unreliable in my environment (Windows/cygwin), caused errors, 
> and I dropped them from later builds.

Hanno and I chatted yesterday and he provided a patch for me to test
that worked.
It was implemented in the commit below and now works as expected!
https://www.sqlite.org/src/info/47633ffdbfead3ce

Thanks to Hanno, DRH and you for your input.

> Bob Weiss
>

Thanks,
sean


[sqlite] Build fail: undefined reference to `pthread_create'

2016-01-27 Thread Robert Weiss
A few builds ago I got a similar message. ?I don't recall whether I actively 
tried to use threads or got blindsided by change. ?The short story is that 
linking in libpthread caused the build to succeed. ?The longer story is that 
threads were unreliable in my environment (Windows/cygwin), caused errors, and 
I dropped them from later builds.
Bob Weiss 

On Wednesday, January 27, 2016 2:06 PM, jungle Boogie  wrote:


 On 21 January 2016 at 11:16, Richard Hipp  wrote:
> The change that is causing your problem was put in at the suggestion
> of Hanno B?ck on the sqlite-dev mailing list.? Hanno said he was going
> to try to contact you off-list in order to figure out how to reproduce
> the issue you are seeing and to devise a work-around.? The change
> facilitates compiling SQLite with ASAN.


I think this is who you're referring to: https://hboeck.de/
I have contacted him off-list to see if he has any suggestions.

-- 
---
inum: 883510009027723
sip: jungleboogie at sip2sip.info
xmpp: jungle-boogie at jit.si
___
sqlite-users mailing list
sqlite-users at mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users





[sqlite] Build fail: undefined reference to `pthread_create'

2016-01-27 Thread jungle Boogie
On 21 January 2016 at 11:16, Richard Hipp  wrote:
> The change that is causing your problem was put in at the suggestion
> of Hanno B?ck on the sqlite-dev mailing list.  Hanno said he was going
> to try to contact you off-list in order to figure out how to reproduce
> the issue you are seeing and to devise a work-around.  The change
> facilitates compiling SQLite with ASAN.


I think this is who you're referring to: https://hboeck.de/
I have contacted him off-list to see if he has any suggestions.

-- 
---
inum: 883510009027723
sip: jungleboogie at sip2sip.info
xmpp: jungle-boogie at jit.si


[sqlite] Build fail: undefined reference to `pthread_create'

2016-01-22 Thread jungle Boogie
On 21 January 2016 at 11:16, Richard Hipp  wrote:
> The change that is causing your problem was put in at the suggestion
> of Hanno B?ck on the sqlite-dev mailing list.  Hanno said he was going
> to try to contact you off-list in order to figure out how to reproduce
> the issue you are seeing and to devise a work-around.  The change
> facilitates compiling SQLite with ASAN.


I have not yet received any off-list message about the build failure.

It's pretty easy to reproduce: use freebsd and this config line:
./configure --disable-editline; make

Fails every time.

-- 
---
inum: 883510009027723
sip: jungleboogie at sip2sip.info
xmpp: jungle-boogie at jit.si


[sqlite] Build fail: undefined reference to `pthread_create'

2016-01-21 Thread Richard Hipp
On 1/21/16, jungle Boogie  wrote:
> Sent from my iPhone 7.1
> On Jan 20, 2016 11:25 AM, "jungle Boogie"  wrote:
>>
>> Hello All,
>>
>> My last successful build was SQLite version 3.11.0 2016-01-12 14:10:05
>>
>> I build with: ./configure --disable-editline; make
>>
>>
>> ./.libs/libsqlite3.a(sqlite3.o): In function `sqlite3ThreadCreate':
>> /usr/home/sean/fossil-repos/sqlite3/sqlite3.c:24385: undefined
>> reference to `pthread_create'
>> /usr/home/sean/fossil-repos/sqlite3/sqlite3.c:24385: undefined
>> reference to `pthread_create'
>> /usr/home/sean/fossil-repos/sqlite3/sqlite3.c:24385: undefined
>> reference to `pthread_create'
>> cc: error: linker command failed with exit code 1 (use -v to see
> invocation)
>> *** Error code 1
>>
>> Stop.
>
> Does no one else experience this failure to build? Will I need to add
> another config option to get around this failure?
>

The change that is causing your problem was put in at the suggestion
of Hanno B?ck on the sqlite-dev mailing list.  Hanno said he was going
to try to contact you off-list in order to figure out how to reproduce
the issue you are seeing and to devise a work-around.  The change
facilitates compiling SQLite with ASAN.

-- 
D. Richard Hipp
drh at sqlite.org


[sqlite] Build fail: undefined reference to `pthread_create'

2016-01-21 Thread jungle Boogie
Sent from my iPhone 7.1
On Jan 20, 2016 11:25 AM, "jungle Boogie"  wrote:
>
> Hello All,
>
> My last successful build was SQLite version 3.11.0 2016-01-12 14:10:05
>
> I build with: ./configure --disable-editline; make
>
>
> ./.libs/libsqlite3.a(sqlite3.o): In function `sqlite3ThreadCreate':
> /usr/home/sean/fossil-repos/sqlite3/sqlite3.c:24385: undefined
> reference to `pthread_create'
> /usr/home/sean/fossil-repos/sqlite3/sqlite3.c:24385: undefined
> reference to `pthread_create'
> /usr/home/sean/fossil-repos/sqlite3/sqlite3.c:24385: undefined
> reference to `pthread_create'
> cc: error: linker command failed with exit code 1 (use -v to see
invocation)
> *** Error code 1
>
> Stop.

Does no one else experience this failure to build? Will I need to add
another config option to get around this failure?

>
>
> Probably centered around this commit:
> https://sqlite.org/src/info/9c3a0dc2e8bf202c
>
>
>
>
> --
>


[sqlite] Build fail: undefined reference to `pthread_create'

2016-01-20 Thread jungle Boogie
Hello All,

My last successful build was SQLite version 3.11.0 2016-01-12 14:10:05

I build with: ./configure --disable-editline; make


./.libs/libsqlite3.a(sqlite3.o): In function `sqlite3ThreadCreate':
/usr/home/sean/fossil-repos/sqlite3/sqlite3.c:24385: undefined
reference to `pthread_create'
/usr/home/sean/fossil-repos/sqlite3/sqlite3.c:24385: undefined
reference to `pthread_create'
/usr/home/sean/fossil-repos/sqlite3/sqlite3.c:24385: undefined
reference to `pthread_create'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.


Probably centered around this commit:
https://sqlite.org/src/info/9c3a0dc2e8bf202c




-- 
---
inum: 883510009027723
sip: jungleboogie at sip2sip.info
xmpp: jungle-boogie at jit.si