Yuri | 1 Jan 08:02 2005

misc/75702: -O5 flag breaks some compiles in /usr/src/lib/libc


>Number:         75702
>Category:       misc
>Synopsis:       -O5 flag breaks some compiles in /usr/src/lib/libc
>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:   Sat Jan 01 07:10:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Yuri
>Release:        5.3-STABLE-i386
>Organization:
N/A
>Environment:
FreeBSD xxx.xxx.xxx 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004    
root <at> harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
When /etc/make.conf has high optimization option set (CFLAGS=-O5)
some of compiles break.

example:
cc -O5  -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386
(Continue reading)

Jan Stocker | 1 Jan 11:24 2005
Picon

kern/75705: PANIC: da0 attach / Optio S4


>Number:         75705
>Category:       kern
>Synopsis:       PANIC: da0 attach / Optio S4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 01 10:30:30 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jan Stocker
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD tron 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sun Dec 5 18:45:55 CET 2004
root <at> tron:/usr/src/sys/i386/compile/Tron53 i386
Hardware: Samsung M40 Notebook with Pentium M 725
FreeBSD 5.3-RELEASE and GENERIC kernel (only added kernel debugger for stacktrace, but panics without, too)

>Description:
This causes the panic:

- plugin in a Pentax Optio S4 camera to USB port, turn on camera.
(Continue reading)

dkouroun | 1 Jan 12:22 2005
Picon

Compiling FreeBSD 4.10 kernel with gcc native and gcc-3.4.3


Dear FreeBSD people,
I had problems in my ATHLON-XP with 5.3 Release.
While compiling the kernel to use NVIDIA drivers
I opened emacs and everything freezed 2 times!
The third time I didn't touch emacs so the kernel
compilation finished without everything to freeze!
Thus I decided to install FreeBSD 4.10!

Everything was working fine! I then recompiled the kernel
such that I can use the nvidia drivers. Here is my config
---------------------------------------------------------

# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#   
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
(Continue reading)

Edward B. Dreger | 1 Jan 13:01 2005
Picon

Re: Compiling FreeBSD 4.10 kernel with gcc native and gcc-3.4.3

> Date: Sat,  1 Jan 2005 13:22:03 +0200
> From: dkouroun <at> cc.uoi.gr
> To: freebsd-bugs <at> freebsd.org, freebsd-performance <at> freebsd.org,
>      freebsd-questions <at> freebsd.org

[ removed -performance from CC list ]

> linking kernel
> ncr53c500.o: In function `ncv_world_start':
> ncr53c500.o(.text+0x415): undefined reference to `softintr'
> nsp.o: In function `nsp_world_start':
> nsp.o(.text+0xbab): undefined reference to `softintr'
> tmc18c30.o: In function `stg_world_start':
> tmc18c30.o(.text+0x2fc): undefined reference to `softintr'
> *** Error code 1
>
> So I cannot link!
>
> Any suggestions?

http://lists.freebsd.org/pipermail/freebsd-hackers/2004-December/009422.html
http://lists.freebsd.org/pipermail/freebsd-hackers/2004-December/009424.html

> 1:) How can I fix this?

Whack-a-mole until you're confident everything works correctly.  It's a
matter of trial and error.

> 2:) Why FreBSD 4.10 is using such an old compiler?

(Continue reading)

Simon L. Nielsen | 1 Jan 14:33 2005
Picon

Re: misc/75702: -O5 flag breaks some compiles in /usr/src/lib/libc

Synopsis: -O5 flag breaks some compiles in /usr/src/lib/libc

State-Changed-From-To: open->closed
State-Changed-By: simon
State-Changed-When: Sat Jan 1 13:30:45 GMT 2005
State-Changed-Why: 
Quoting from /usr/share/examples/etc/make.conf :

# Note that optimization settings other than -O and -O2 are not recommended
# or supported for compiling the world or the kernel - please revert any
# nonstandard optimization settings to "-O" before submitting bug reports
# without patches to the developers.

A lot of other things are also likely to break at higher optimization
levels, which is why it is not supported.

http://www.freebsd.org/cgi/query-pr.cgi?pr=75702
_______________________________________________
freebsd-bugs <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe <at> freebsd.org"

David Malone | 1 Jan 15:46 2005
Picon

Re: misc/75702: -O5 flag breaks some compiles in /usr/src/lib/libc

Synopsis: -O5 flag breaks some compiles in /usr/src/lib/libc

State-Changed-From-To: closed->open
State-Changed-By: dwmalone
State-Changed-When: Sat Jan 1 14:43:55 GMT 2005
State-Changed-Why: 
Though Simon is correct, that we do not support optimisation settings
other than -O and -O2, the warning listed in the PR is a constness
warning that we can probably fix. I'm interested in doing that, so
I'll take the PR.

	David.

Responsible-Changed-From-To: freebsd-bugs-≥dwmalone
Responsible-Changed-By: dwmalone
Responsible-Changed-When: Sat Jan 1 14:43:55 GMT 2005
Responsible-Changed-Why: 
Though Simon is correct, that we do not support optimisation settings
other than -O and -O2, the warning listed in the PR is a constness
warning that we can probably fix. I'm interested in doing that, so
I'll take the PR.

	David.

http://www.freebsd.org/cgi/query-pr.cgi?pr=75702
_______________________________________________
freebsd-bugs <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe <at> freebsd.org"

(Continue reading)

Simon L. Nielsen | 1 Jan 16:06 2005
Picon

Re: misc/75702: -O5 flag breaks some compiles in /usr/src/lib/libc

On 2005.01.01 14:46:26 +0000, David Malone wrote:
> Synopsis: -O5 flag breaks some compiles in /usr/src/lib/libc
> 
> State-Changed-From-To: closed->open
> State-Changed-By: dwmalone
> State-Changed-When: Sat Jan 1 14:43:55 GMT 2005
> State-Changed-Why: 
> Though Simon is correct, that we do not support optimisation settings
> other than -O and -O2, the warning listed in the PR is a constness
> warning that we can probably fix. I'm interested in doing that, so
> I'll take the PR.

OK, fair enough.  In the past developers hasn't been interested in
this kind of issues (AFAIK) without user supplied patches, which was
why I thought it was better to have have the PR closed, if it was just
going to be sitting in GNATS.

--

-- 
Simon L. Nielsen
Michael Nottebrock | 1 Jan 16:33 2005
Picon
Picon

Re: Compiling FreeBSD 4.10 kernel with gcc native and gcc-3.4.3

On Saturday, 1. January 2005 12:22, dkouroun <at> cc.uoi.gr wrote:

> 2:) Why FreBSD 4.10 is using such an old compiler?

Because it is a stable branch, and upgrading the compiler would break binary 
compatibility all over the place.

> 3:) Has anybody tested FreeBSD 4.10 with gcc-3.4.X?

Compiling FreeBSD 4.x kernels and userland with gcc 3.x is unsupported. If you 
want to do it, you're on your own.

P.S.: Please tone down the crossposting.

--

-- 
   ,_,   | Michael Nottebrock               | lofi <at> freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
Graham Lilley | 1 Jan 19:19 2005
Picon

kern/75710: cue0 device configuration causes kernel panic


>Number:         75710
>Category:       kern
>Synopsis:       cue0 device configuration causes kernel panic
>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:   Sat Jan 01 18:20:07 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Graham Lilley
>Release:        5.3-RELEASE
>Organization:
Personal Use
>Environment:
FreeBSD 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004
root <at> harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
After a fresh installation on a Compaq Armada 110 Laptop (celeron 700mhz model), attaching a CATC Netmate
II USB Ethernet adapter, is detected in dmesg, but when attempting to perform "ifconfig cue0 inet
10.0.7.22 netmask 255.255.255.0" the machine panics. Panic details as follows:

Fatal Trap 12: page fault while in kernel mode
(Continue reading)

Ceri Davies | 1 Jan 19:59 2005
Picon

Re: conf/75347: calendar.newzealand missing newline at end of file

Synopsis: calendar.newzealand missing newline at end of file

State-Changed-From-To: open->patched
State-Changed-By: ceri
State-Changed-When: Sat Jan 1 18:57:36 GMT 2005
State-Changed-Why: 
Patched in head; will MFC shortly.

Responsible-Changed-From-To: freebsd-bugs-≥ceri
Responsible-Changed-By: ceri
Responsible-Changed-When: Sat Jan 1 18:57:36 GMT 2005
Responsible-Changed-Why: 
My MFC reminder.

http://www.freebsd.org/cgi/query-pr.cgi?pr=75347
_______________________________________________
freebsd-bugs <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe <at> freebsd.org"


Gmane