Re: HEADSUP: after r313194 on freebsd-current, lang/gcc ports require a rebuild

2017-02-28 Thread Mark Linimon
On Tue, Feb 28, 2017 at 11:24:27PM +0100, Ed Schouten wrote:
> 2017-02-28 21:00 GMT+01:00 Konstantin Belousov :
> > Ideally, ports should stop shipping mangled system includes, or even better,
> > gcc stop doing fixincludes.
> 
> Amen.

Please let me know the magic wand you folks want us to wave to fix up all the
bad usages in ports.

We are barely keeping our heads above water as it is.

mcl
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: HEADSUP: after r313194 on freebsd-current, lang/gcc ports require a rebuild

2017-02-28 Thread Ed Schouten
2017-02-28 21:00 GMT+01:00 Konstantin Belousov :
> Ideally, ports should stop shipping mangled system includes, or even better,
> gcc stop doing fixincludes.

Amen.

-- 
Ed Schouten 
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: HEADSUP: after r313194 on freebsd-current, lang/gcc ports require a rebuild

2017-02-28 Thread Konstantin Belousov
On Tue, Feb 28, 2017 at 11:42:48AM -0800, Steve Kargl wrote:
> r313194 defined vm_ooffset_t and vm_pindex_t in sys/types.h.
> I believe that forces a recompile of lang/gcc ports, and
> probably anything built with the lang/gcc port to avoid 
> dependency issue.  Neither "pkg audit -q" nor "pkg version -vl '<'"
> pick up this issue.
> 
> % make 
> gcc6 -o hex -O2 -pipe -static -Wall -fno-builtin -I/usr/local/include -I../mp 
> -I../libm/msun/src -I../libm/libc/include -I../libm/libc/i386 hex.c -lm
> In file included from 
> /usr/local/lib/gcc6/gcc/x86_64-portbld-freebsd12.0/6.3.0/include-fixed/unistd.h:46:0,
>  from hex.c:6:
> /usr/local/lib/gcc6/gcc/x86_64-portbld-freebsd12.0/6.3.0/include-fixed/sys/types.h:266:9:
>  error: unknown type name '__vm_ooffset_t'
>  typedef __vm_ooffset_t vm_ooffset_t;
>  ^~
> /usr/local/lib/gcc6/gcc/x86_64-portbld-freebsd12.0/6.3.0/include-fixed/sys/types.h:268:9:
>  error: unknown type name '__vm_pindex_t'
>  typedef __vm_pindex_t vm_pindex_t;
>  ^
> *** Error code 1
> 
> % uname -a
> FreeBSD troutmask.apl.washington.edu 12.0-CURRENT FreeBSD 12.0-CURRENT #0 
> r312992: Mon Jan 30 13:00:38 PST 2017 
> ka...@troutmask.apl.washington.edu:/data/obj/usr/src/sys/SPEW  amd64
> 
> % ll /usr/local/bin/gcc6
> -r-xr-xr-x  3 root  wheel  - 936640 Jan  2 14:21 /usr/local/bin/gcc6*
> 

Or do something along the following:
mv /usr/local/lib/gcc6/gcc/x86_64-portbld-freebsd12.0/6.3.0/include-fixed/ \
  
/usr/local/lib/gcc6/gcc/x86_64-portbld-freebsd12.0/6.3.0/include-fixed.not-needed/

Ideally, ports should stop shipping mangled system includes, or even better,
gcc stop doing fixincludes.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


HEADSUP: after r313194 on freebsd-current, lang/gcc ports require a rebuild

2017-02-28 Thread Steve Kargl
r313194 defined vm_ooffset_t and vm_pindex_t in sys/types.h.
I believe that forces a recompile of lang/gcc ports, and
probably anything built with the lang/gcc port to avoid 
dependency issue.  Neither "pkg audit -q" nor "pkg version -vl '<'"
pick up this issue.

% make 
gcc6 -o hex -O2 -pipe -static -Wall -fno-builtin -I/usr/local/include -I../mp 
-I../libm/msun/src -I../libm/libc/include -I../libm/libc/i386 hex.c -lm
In file included from 
/usr/local/lib/gcc6/gcc/x86_64-portbld-freebsd12.0/6.3.0/include-fixed/unistd.h:46:0,
 from hex.c:6:
/usr/local/lib/gcc6/gcc/x86_64-portbld-freebsd12.0/6.3.0/include-fixed/sys/types.h:266:9:
 error: unknown type name '__vm_ooffset_t'
 typedef __vm_ooffset_t vm_ooffset_t;
 ^~
/usr/local/lib/gcc6/gcc/x86_64-portbld-freebsd12.0/6.3.0/include-fixed/sys/types.h:268:9:
 error: unknown type name '__vm_pindex_t'
 typedef __vm_pindex_t vm_pindex_t;
 ^
*** Error code 1

% uname -a
FreeBSD troutmask.apl.washington.edu 12.0-CURRENT FreeBSD 12.0-CURRENT #0 
r312992: Mon Jan 30 13:00:38 PST 2017 
ka...@troutmask.apl.washington.edu:/data/obj/usr/src/sys/SPEW  amd64

% ll /usr/local/bin/gcc6
-r-xr-xr-x  3 root  wheel  - 936640 Jan  2 14:21 /usr/local/bin/gcc6*

-- 
Steve
20161221 https://www.youtube.com/watch?v=IbCHE-hONow
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"