Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2001 01:50:14 -0800 (PST)
From:      jml@cubical.fi
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   gnu/24843: gcc does not recognize -kthread
Message-ID:  <200102040950.f149oEq95700@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         24843
>Category:       gnu
>Synopsis:       gcc does not recognize -kthread
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 04 02:00:05 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Juha-Matti Liukkonen
>Release:        4.2-RELEASE
>Organization:
Cubical Solutions Ltd
>Environment:
FreeBSD snafu.intra.net 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Sat Feb  3 20:12:33 EET 2001
     root@:/usr/src/sys/compile/SERVER  i386

>Description:
cc, gcc or ld do not recognize the -kthread option. This leads to use
of wrong libgcc.a when linking software against linuxthreads (and of
course invalidates existing makefiles, making 4.2 a non-workable
development platform for someone using linuxthreads).

>How-To-Repeat:
snafu:~$ cc --version
2.95.2
snafu:~$ cc -kthread
cc: unrecognized option `-kthread'
cc: No input files specified
snafu:~$ gcc -kthread
gcc: unrecognized option `-kthread'
gcc: No input files specified
snafu:~$ ld -kthread
/usr/libexec/elf/ld: unrecognized option `-kthread'
/usr/libexec/elf/ld: use the --help option for usage information

>Fix:
Recompile the tools with correct options, or use binaries from
4.1-RELEASE.


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102040950.f149oEq95700>