RE: Fixing -pthreads (Re: ports and -current)

From: Daniel Eischen (eischen_at_vigrid.com)
Date: 09/24/03

  • Next message: Jacques A. Vidrine: "Re: Fixing -pthreads (Re: ports and -current)"
    Date: Wed, 24 Sep 2003 11:11:44 -0400 (EDT)
    To: John Baldwin <jhb@freebsd.org>
    
    

    On Wed, 24 Sep 2003, John Baldwin wrote:

    >
    > On 23-Sep-2003 Dan Naumov wrote:
    > > On Tue, 2003-09-23 at 23:25, Dan Naumov wrote:
    > >> On Tue, 2003-09-23 at 23:13, Daniel Eischen wrote:
    > >> > I understand that folks want to wave their hands and say "just make
    > >> > -pthread work and do whatever it needs to".
    > >>
    > >> I am one of those folks as well. As an end-user, I am not interested in
    > >> hacking around the source of 3rd-party applications that use -pthread
    > >> when compiling them from source myself. Not in the slightest. This is
    > >> BAD BAD BAD for usability.
    > >>
    > >> Sincerely,
    > >> Dan Naumov
    > >
    > > I also believe that a question has to be asked, what do the -core and
    > > -arch people think of all this ? I think that they should have the final
    > > say in the matter.
    >
    > I think having a magic option to gcc that translates to 'link with the
    > foo library' is rediculous. What's next, a gcc -math to get the math
    > functions in libm? The fact that functions live in libraries and that
    > to get access to said functions you link with said libraries has been
    > the practice on Un*x for longer than I've been alive. Please, people,
    > let the -pthread hack die and just use -l<mumble thread library>.
    > I think any FreeBSD-specific -pthread bits should just be removed
    > and have the compiler complain about a bogus option. If gcc chooses
    > to have a machine independent -pthread (or -thread) to turn on TLS or
    > some such, that's great and all, but that would be gcc code, not
    > FreeBSD-specific code.

    Where were you a few days ago!

    -- 
    Dan Eischen
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Jacques A. Vidrine: "Re: Fixing -pthreads (Re: ports and -current)"

    Relevant Pages

    • Re: 10.0-CUR r226986 && ports (general)
      ... configure:3232: checking for gcc ... Configured with: FreeBSD/amd64 system compiler ... configure:5483: checking how to associate runtime and link libraries ... configure: failed program was: ...
      (freebsd-current)
    • Re: problem of building stardict
      ... checking for gcc... ... checking for C compiler default output file name... ... checking how to recognize dependent libraries... ... checking for gfortran... ...
      (Fedora)
    • problem of building stardict
      ... checking for gcc... ... checking for C compiler default output file name... ... checking how to recognize dependent libraries... ... checking for gfortran... ...
      (Fedora)
    • Lib X11 compile problem /Xlib.h:3573: error: syntax error before "_X_SENTINEL"
      ... checking for gcc... ... checking for C compiler default output file name... ... checking how to recognise dependent libraries... ...
      (comp.os.linux.x)
    • Re: Installation of Blackbox
      ... I'm trying to figure out how to install Blackbox on Minix 3. ... checking for gcc... ... checking how to recognise dependent libraries... ...
      (comp.os.minix)