You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2020/11/06 16:45:28 UTC

[Bug 64878] New: Can not determine the proper size for pid_t / pthread_t

https://bz.apache.org/bugzilla/show_bug.cgi?id=64878

            Bug ID: 64878
           Summary: Can not determine the proper size for pid_t /
                    pthread_t
           Product: Tomcat Connectors
           Version: unspecified
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_jk
          Assignee: dev@tomcat.apache.org
          Reporter: roos@symentis.com
  Target Milestone: ---

Created attachment 37548
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37548&action=edit
config.log

tomcat-connectors-1.2.48 (not selectable in bug report version dropdown)

When using XCode 12.1 / OSX 10.15.7, configure is not able to determine the
following sizes:

pid_t_fmt='#error Can not determine the proper size for pid_t'

pthread_t_fmt='#error Can not determine the proper size for pthread_t'

This leads to:

Making all in common
/usr/local/opt/apr/libexec/build-1/libtool --silent --mode=compile clang -I.
-I/usr/local/opt/httpd/include/httpd  -DHAVE_CONFIG_H -g -O2 -DHAVE_APR 
-I/usr/local/opt/apr/libexec/include/apr-1
-I/usr/local/opt/apr-util/libexec/include/apr-1  -DHAVE_CONFIG_H -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_ajp12_worker.c -o
jk_ajp12_worker.lo
In file included from jk_ajp12_worker.c:25:
In file included from ./jk_ajp12_worker.h:26:
In file included from ./jk_logger.h:26:
In file included from ./jk_global.h:340:
./jk_types.h:56:2: error: Can not determine the proper size for pid_t
#error Can not determine the proper size for pid_t
 ^
./jk_types.h:62:2: error: Can not determine the proper size for pthread_t
#error Can not determine the proper size for pthread_t
 ^
2 errors generated.
make[1]: *** [jk_ajp12_worker.lo] Error 1
make: *** [all-recursive] Error 1


Seems to be similar to #64753


Tried with XCode 12.1 and with command-line tools 12.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 64878] Can not determine the proper size for pid_t / pthread_t

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64878

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Fix for 1.2.49 onwards.

https://github.com/apache/tomcat-connectors/commit/e71987

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 64878] Can not determine the proper size for pid_t / pthread_t

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64878

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |1.2.48

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org