Re: buildworld error 8.2-STABLE amd64

2012-01-02 Thread Janos Dohanics
On Mon, 02 Jan 2012 07:18:53 +0100
Marco Steinbach c...@executive-computing.de wrote:

 Janos Dohanics wrote on 31.12.2011 19:56:
  Buildworld stopped with this error (with updated source):
  
  [...]
  cc -O3  -DNEED_SOLARIS_BOOLEAN
 [...]
  
  I have posted the build log at
  http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld
  
  Would you please advise?
 
 Quoting /usr/share/examples/etc/make.conf:
 
 # CFLAGS controls the compiler settings used when compiling C code.
 # 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 or -O2
 # -fno-strict-aliasing before submitting bug reports without patches
 # to the developers.
 
 The error you're seeing is a result from using O3 for building the 
 source in question -- At least my 8.2-STABLE ran into the same
 problem, once I used O3, instead of the default '-O2 -pipe'.
 
 MfG CoCo

Thank you, there was indeed the line CFLAGS=-O3 in make.conf, after I
have commented it out, I could build world.

I'm wondering how was my make.conf changed though; I'm sure I did not
add CFLAGS=-O3 - is it possible that one of the ports have added this?

-- 
Janos Dohanics
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: buildworld error 8.2-STABLE amd64

2012-01-02 Thread Marco Steinbach

Janos Dohanics wrote on 02.01.2012 11:04:

On Mon, 02 Jan 2012 07:18:53 +0100
Marco Steinbach c...@executive-computing.de wrote:


Janos Dohanics wrote on 31.12.2011 19:56:

Buildworld stopped with this error (with updated source):

[...]
cc -O3  -DNEED_SOLARIS_BOOLEAN

[...]

I have posted the build log at
http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld

Would you please advise?

Quoting /usr/share/examples/etc/make.conf:

# CFLAGS controls the compiler settings used when compiling C code.
# 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 or -O2
# -fno-strict-aliasing before submitting bug reports without patches
# to the developers.

The error you're seeing is a result from using O3 for building the 
source in question -- At least my 8.2-STABLE ran into the same

problem, once I used O3, instead of the default '-O2 -pipe'.

MfG CoCo


Thank you, there was indeed the line CFLAGS=-O3 in make.conf, after I
have commented it out, I could build world.

I'm wondering how was my make.conf changed though; I'm sure I did not
add CFLAGS=-O3 - is it possible that one of the ports have added this?


Although, as far as I can tell, not explicitly forbidden in the porter's 
handbook, I think that to be highly unlikely in the case of CFLAGS.


The least I'd expect would be some kind notice, if so intrusive a change 
is done deliberately.



If I'd suspect a port fiddling with /etc/make.conf, I'd probably go 
looking for entries carrying a timestamp close to /etc/make.confs in 
/var/db/pkg.  Of course, this largely depends on what happened in 
between the time of actual modification and me noticing, but I think 
that's the first thing I'd do.


MfG CoCo

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: buildworld error 8.2-STABLE amd64

2012-01-02 Thread Janos Dohanics
On Mon, 02 Jan 2012 13:15:59 +0100
Marco Steinbach c...@executive-computing.de wrote:

 Janos Dohanics wrote on 02.01.2012 11:04:
  On Mon, 02 Jan 2012 07:18:53 +0100
  Marco Steinbach c...@executive-computing.de wrote:
  
  Janos Dohanics wrote on 31.12.2011 19:56:
  Buildworld stopped with this error (with updated source):
 
  [...]
  cc -O3  -DNEED_SOLARIS_BOOLEAN
  [...]
  I have posted the build log at
  http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld
 
  Would you please advise?
  Quoting /usr/share/examples/etc/make.conf:
 
  # CFLAGS controls the compiler settings used when compiling C code.
  # 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 or
  # -O2 -fno-strict-aliasing before submitting bug reports without
  # patches to the developers.
 
  The error you're seeing is a result from using O3 for building the 
  source in question -- At least my 8.2-STABLE ran into the same
  problem, once I used O3, instead of the default '-O2 -pipe'.
 
  MfG CoCo
  
  Thank you, there was indeed the line CFLAGS=-O3 in make.conf,
  after I have commented it out, I could build world.
  
  I'm wondering how was my make.conf changed though; I'm sure I did
  not add CFLAGS=-O3 - is it possible that one of the ports have
  added this?
 
 Although, as far as I can tell, not explicitly forbidden in the
 porter's handbook, I think that to be highly unlikely in the case of
 CFLAGS.
 
 The least I'd expect would be some kind notice, if so intrusive a
 change is done deliberately.
 
 
 If I'd suspect a port fiddling with /etc/make.conf, I'd probably go 
 looking for entries carrying a timestamp close to /etc/make.confs in 
 /var/db/pkg.  Of course, this largely depends on what happened in 
 between the time of actual modification and me noticing, but I think 
 that's the first thing I'd do.
 
 MfG CoCo

Thanks again, unfortunately, I have edited /etc/make.conf and did not
make note of the time stamp...

-- 
Janos Dohanics
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: buildworld error 8.2-STABLE amd64

2012-01-01 Thread Marco Steinbach

Janos Dohanics wrote on 31.12.2011 19:56:

Buildworld stopped with this error (with updated source):

[...]
cc -O3  -DNEED_SOLARIS_BOOLEAN

[...]


I have posted the build log at
http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld

Would you please advise?


Quoting /usr/share/examples/etc/make.conf:

# CFLAGS controls the compiler settings used when compiling C code.
# 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 or -O2 -fno-strict-aliasing
# before submitting bug reports without patches to the developers.

The error you're seeing is a result from using O3 for building the 
source in question -- At least my 8.2-STABLE ran into the same problem, 
once I used O3, instead of the default '-O2 -pipe'.


MfG CoCo

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


buildworld error 8.2-STABLE amd64

2011-12-31 Thread Janos Dohanics
Buildworld stopped with this error (with updated source):

[...]
cc -O3  -DNEED_SOLARIS_BOOLEAN
-I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/compat/opensolaris
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/compat/opensolaris/include
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris
-I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/contrib/opensolaris
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/head
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/common
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt
-I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/contrib/opensolaris/uts/common
-DNEED_SOLARIS_BOOLEAN -g -std=gnu89 -fstack-protector -Wsystem-headers
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align
-Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -Wno-pointer-sign -Wno-unknown-pragmas
-c 
/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/output.c
cc -O3  -DNEED_SOLARIS_BOOLEAN
-I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/compat/opensolaris
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/compat/opensolaris/include
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris
-I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/contrib/opensolaris
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/head
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/common
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt
-I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/contrib/opensolaris/uts/common
-DNEED_SOLARIS_BOOLEAN -g -std=gnu89 -fstack-protector -Wsystem-headers
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align
-Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -Wno-pointer-sign -Wno-unknown-pragmas
-c 
/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c
cc1: warnings being treated as
errors 
/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c:
In function
'tdefdecl': 
/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c:777:
warning: 'width' may be used uninitialized in this
function 
/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c:777:
note: 'width' was declared here *** Error code 1

Stop in /usr/src/cddl/usr.bin/ctfconvert.
*** Error code 1

Stop in /usr/src/cddl/usr.bin.
*** Error code 1

Stop in /usr/src/cddl.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

I have posted the build log at
http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld

Would you please advise?

-- 
Janos Dohanics
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org