Austin Group Minutes of the 21st August 2007 Teleconference Austin-378 Page 1 of 1 Submitted by Andrew Josey, The Open Group. August 23, 2007 Attendees Andrew Josey, The Open Group Don Cragun , Sun, PASC OR Nick Stoughton, USENIX, ISO/IEC OR Eric Blake Ulrich Drepper, Red Hat Apologies Mark Brown, IBM, TOG OR Geoff Clare, The Open Group Action item review --------------------- ACTION AI-2005-01-01: Don Cragun to present paper on pathname resolution. OPEN ACTION 2007-02-06: Ulrich to research issue 15 and propose text for XSH intro to explain directory searching, with special respect to the *at() functions. OPEN (Geoff has posted some mail on this, come back to this when Ulrich has the cycles) Ulrich has also now posted some thoughts on this item. It was agreed that we need to close this actions at the September meeting so we can incorporate the changes into D4 Status ------ Meeting registration for the September face to face meeting is now open. http://www.opengroup.org/austin/ So far registered attendees are: Andrew Josey, The Open Group Cathy Fox, The Open Group Geoff Clare, The Open Group Nick Stoughton, USENIX Mark Brown, IBM (tc) Don Cragun Mats Wichmann Ulrich Drepper POSIX C++ binding group status: The PAR and PMC criteria have been submitted to the PASC SEC. The PASC SEC vote is in progress. The D3 review period closes August 17 at 8am UK local time. The initial D3R aardvark reports are now available. Status at the close of the ballot period is as follows: Volume #rdvks XSH 54 XCU 13 XBD 21 XRAT 8 ----------- Total 96 ----------- The aardvark reports are available on http://www.opengroup.org/austin/aardvark/d3r/ We will want to ensure that we submit relevant comments to national bodies in time for November 2nd closing of that ballot at ISO. Andrew confirmed he has cancelled the call on Thursday August 23rd. Aardvark Bug Reports -------------------- XSH ERN 204 regcomp OPEN We need to investigate behaviors Unless a test program is submitted this item will remain open. XSH ERN 217 tcsetattr OPEN XSH ERN 218 poll OPEN XCU ERN 153 c99 -l pthread CFLAGS Accept as marked The group felt this was a better approach than adding a separate flag such as -t, since use of -t ties the compiler to the development of the standard, and implementation of options, and as options become part of the base standard and the default it consumes options letter space. EXTENDED DESCRIPTION: Programming Environments section: Add following text all THR shaded after XCU6 P216, L8513: In addition to the Type Size programming environments above, all implementations supporting the Threads option also support a multi-threaded programming environment that is orthogonal to all of the programming environments listed above. If getconf _POSIX_THREADS or sysconf(_SC_POSIX_THREADS) indicates that theThreads option is supported, getconf can be used to get flags for the Threaded programming environment as indicated in Table 4-x: Table 4-x Threaded Programming Environment: c99 Arguments |----------------|--------------------|--------------------------| | Programming | | | | Environment | Use | c99 Arguments | | getconf name | | getconf name | |================|====================|==========================| | |C Compiler Flags | POSIX_V6_THREADS_CFLAGS | | |--------------------|--------------------------| | _POSIX_THREADS |Linker/Loader Flags | POSIX_V6_THREADS_LDFLAGS | | |--------------------|--------------------------| | |Libraries | POSIX_V6_THREADS_LIBS | |----------------|--------------------|--------------------------| These programming environment flags and libraries may be used in conjunction with any of the Type Size programming environments supported by the implementation. Change part of EXAMPLE 2 on P217-218, L8562-8570 from: if [ $(getconf _POSIX_V6_ILP32_OFFBIG) != "-1" ] then c99 $(getconf POSIX_V6_ILP32_OFFBIG_CFLAGS) -D_XOPEN_SOURCE=600 \ $(getconf POSIX_V6_ILP32_OFFBIG_LDFLAGS) foo.c -o foo \ $(getconf POSIX_V6_ILP32_OFFBIG_LIBS) -l pthread else echo ILP32_OFFBIG programming environment not supported exit 1 fi to: offbig_env=$(getconf _POSIX_V6_ILP32_OFFBIG) thr_env=$(getconf _POSIX_THREADS) if [ $offbig_env != "-1" ] && [ $offbig_env != "undefined" ] && \ [ $thr_env != "-1" ] && [ $thr_env != "undefined" ] then c99 $(getconf POSIX_V6_ILP32_OFFBIG_CFLAGS) \ $(getconf POSIX_V6_THREADS_CFLAGS) -D_XOPEN_SOURCE=600 \ $(getconf POSIX_V6_ILP32_OFFBIG_LDFLAGS) \ $(getconf POSIX_V6_THREADS_LDFLAGS) foo.c -o foo \ $(getconf POSIX_V6_ILP32_OFFBIG_LIBS) \ $(getconf POSIX_V6_THREADS_LIBS) else echo ILP32_OFFBIG or THREADS programming environment not supported exit 1 fi RATIONALE: Add new paragraph after XCU6 P218, L8610: On many systems multi-threaded applications run in a programming environment that is distinct from that used by single-threaded applications. This multi-threaded programming environment (in addition to needing to specify -l pthread at link time) may require additional flags to be set when headers are processed at compile time (-D_REENTRANT being common). This programming environment is orthogonal to the Type Size programming environments discussed above and listed in Table 4-4. This proposal adds getconf utility calls to provide the C Compiler flags, linker/loader flags, and libraries needed to support multi-threaded applications. Note that on a system where single-threaded applications are a special case of a multi-threaded application and the routines defined by this standard to appear in libpthread appear in libc, all of these getconf calls may return NULL strings; on other implementations all three of these strings may be non-NULL strings. Add new entries in the description of after XBD6 P412, L14519: _CS_POSIX_V6_THREADS_CFLAGS If sysconf(_SC_POSIX_THREADS) returns, -1, the meaning of this value is unspecified. Otherwise, this value is the set of initial options to be given to the c99 utility to build a multi-threaded application. These flags are in addition to those associated with any of the other _CS_POSIX_V6_*_CFLAGS values used to specify particular type size programing environments. _CS_POSIX_V6_THREADS_LDFLAGS If sysconf(_SC_POSIX_THREADS) returns, -1, the meaning of this value is unspecified. Otherwise, this value is the set of final options to be given to the c99 utility to build a multi-threaded application. These flags are in addition to those associated with any of the other _CS_POSIX_V6_*_LDFLAGS values used to specify particular type size programing environments. _CS_POSIX_V6_THREADS_LIBS If sysconf(_SC_POSIX_THREADS) returns, -1, the meaning of this value is unspecified. Otherwise, this value is the set of libraries to be given to the c99 utility to build a multi-threaded application. These libraries are in addition to those associated with any of the other _CS_POSIX_V6_*_LIBS values used to specify particular type size programing environments. Add new lines in the description of confstr() after XSH6 P219, L7328: _CS_POSIX_V6_THREADS_CFLAGS _CS_POSIX_V6_THREADS_LDFLAGS _CS_POSIX_V6_THREADS_LIBS Editorial Note: The cc utility was marked LEGACY in XCU5 and removed from XCU6. The title on Table 4-5 should be changed from: "Programming Environments: c99 and cc Arguments" to: "Programming Environments: c99 Arguments" on XCU6 P216, L8499. Additional Notes: This should be filed as an interpretation request against POSIX.1-2001. The editorial instructions are what would be needed to add this feature to POSIX.1-2001 as amended by TC1 and TC2 (AKA POSIX.1-2004). The same changes should be made to the draft revision except that all occurrences of "_V6" should be changed to "_V7". XCU ERN 163 2.13.1 unmatched bracket expression Accept as marked below In 2.13.1 ( Replace 72249-72254 in D3R) Change from [ The open bracket shall introduce a pattern bracket expression. The description of basic regular expression bracket expressions in XBD Section 9.3.5 (on page 170) shall also apply to the pattern bracket expression, except that the exclamation mark character (’!’) shall replace the circumflex character (’ˆ’) in its role in a ‘‘non-matching list’’ in the regular expression notation. A bracket expression starting with an unquoted circumflex character produces unspecified results. to: [ If an open bracket introduces a bracket expression as in XBD 9.3.5 on page 170, except that the exclamation mark character ('!') shall replace the circumflex character ('^') in its full in a non matching list in the regular expression notation, it shall introduce a pattern bracket expression. A bracket expression starting with an unquoted circumflex character produces unspecified results. Otherwise [ shall match the character itself. Next Steps ----------- Andrew will update the aardvark reports with the latest inbound defect reports. ** There will be two calls next week, 28th and 30th August Note that the time will be at 16:00 UK (15:00 UT) local time Dial-in:+1 877-421-0003 Or Int'l +1-770-615-1374 Passcode: 953276 See http://www.opengroup.org/austin/. An IRC channel will be available for the meeting irc://irc.freestandards.org #austin irc://irc.freestandards.org/austin ICAL: http://www.google.com/calendar/ical/nvctqtstkuni3fab9k3jqtrt4g@group.calendar.google.com/public/basic XML: http://www.google.com/calendar/feeds/nvctqtstkuni3fab9k3jqtrt4g@group.calendar.google.com/public/basic