Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134868 - sys-freebsd/freebsd-ubin-6.1 fails to compile with gcc-4.1.1
Summary: sys-freebsd/freebsd-ubin-6.1 fails to compile with gcc-4.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-29 22:39 UTC by Robert Sebastian Gerus
Modified: 2006-05-30 01:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Sebastian Gerus 2006-05-29 22:39:57 UTC
freebsd-ubin fails to compile with gcc-4.1.1, here's the error msg:

===> window (all)
Warning: Object directory not changed from original /var/tmp/portage/freebsd-ubin-6.1/work/usr.bin/window
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c char.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c cmd.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c cmd1.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c cmd2.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c cmd3.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c cmd4.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c cmd5.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c cmd6.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c cmd7.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c context.c
context.c: In function 'cx_alloc':
context.c:58: warning: incompatible implicit declaration of built-in function 'malloc'
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c error.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c lcmd.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c lcmd1.c
lcmd1.c: In function 'l_write':
lcmd1.c:315: warning: incompatible implicit declaration of built-in function 'sprintf'
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c lcmd2.c
lcmd2.c: In function 'strtime':
lcmd2.c:166: warning: incompatible implicit declaration of built-in function 'sprintf'
lcmd2.c:174: warning: incompatible implicit declaration of built-in function 'sprintf'
lcmd2.c:181: warning: incompatible implicit declaration of built-in function 'sprintf'
lcmd2.c: In function 'l_echo':
lcmd2.c:395: warning: incompatible implicit declaration of built-in function 'sprintf'
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c main.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c mloop.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c parser1.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c parser2.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c parser3.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c parser4.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c parser5.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c scanner.c
scanner.c: In function 's_gettok':
scanner.c:505: warning: incompatible implicit declaration of built-in function 'abort'
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c startup.c
startup.c: In function 'doconfig':
startup.c:57: warning: incompatible implicit declaration of built-in function 'sprintf'
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c string.c
string.c: In function 'str_itoa':
string.c:87: warning: incompatible implicit declaration of built-in function 'sprintf'
string.c: In function 'str_alloc':
string.c:128: warning: incompatible implicit declaration of built-in function 'malloc'
string.c: In function 'str_free':
string.c:149: warning: incompatible implicit declaration of built-in function 'abort'
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c ttf100.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c ttgeneric.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c tth19.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c tth29.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c ttinit.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c ttoutput.c
ttoutput.c: In function 'ttwrite':
ttoutput.c:142: warning: incompatible implicit declaration of built-in function 'bcopy'
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c tttermcap.c
tttermcap.c: In function 'tttgetstr':
tttermcap.c:66: warning: incompatible implicit declaration of built-in function 'malloc'
tttermcap.c: In function 'ttxgetstr':
tttermcap.c:83: warning: incompatible implicit declaration of built-in function 'malloc'
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c tttvi925.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c ttwyse60.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c ttwyse75.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c ttzapple.c
ttzapple.c: In function 'zz_set_token':
ttzapple.c:332: warning: incompatible implicit declaration of built-in function 'sprintf'
ttzapple.c: In function 'zz_put_token':
ttzapple.c:352: warning: incompatible implicit declaration of built-in function 'sprintf'
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c ttzentec.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c var.c
var.c: In function 'var_set1':
var.c:63: warning: incompatible implicit declaration of built-in function 'malloc'
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c win.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwadd.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwalloc.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwbox.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwchild.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwclose.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwclreol.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwclreos.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwcursor.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwdata.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwdelchar.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwdelete.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwdelline.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwdump.c
wwdump.c: In function 'wwdumpnvis':
wwdump.c:73: warning: incompatible implicit declaration of built-in function 'sprintf'
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwend.c
wwend.c: In function 'wwquit':
wwend.c:67: warning: incompatible implicit declaration of built-in function 'exit'
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwenviron.c
wwenviron.c: In function 'wwenviron':
wwenviron.c:96: warning: incompatible implicit declaration of built-in function 'sprintf'
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwerror.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwflush.c
wwflush.c: In function 'wwcopyscreen':
wwflush.c:103: warning: incompatible implicit declaration of built-in function 'bcopy'
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwframe.c
i686-gentoo-freebsd6.1-gcc  -Os -march=i686 -pipe   -c wwgets.c
wwgets.c: In function 'wwgets':
wwgets.c:54: error: invalid storage class for function 'rub'
wwgets.c: At top level:
wwgets.c:108: warning: conflicting types for 'rub'
wwgets.c:108: error: static declaration of 'rub' follows non-static declaration
wwgets.c:68: error: previous implicit declaration of 'rub' was here
*** Error code 1

Stop in /var/tmp/portage/freebsd-ubin-6.1/work/usr.bin/window.
*** Error code 1

Stop in /var/tmp/portage/freebsd-ubin-6.1/work/usr.bin.

!!! ERROR: sys-freebsd/freebsd-ubin-6.1 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  ebuild.sh, line 1240:   Called freebsd_src_compile
  freebsd.eclass, line 96:   Called bsdmk_src_compile
  bsdmk.eclass, line 68:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-30 01:40:38 UTC
Fixed already last night.