cvs commit: src UPDATING

Kostik Belousov kostikbel at gmail.com
Wed Aug 27 14:52:32 UTC 2008


On Wed, Aug 27, 2008 at 06:59:01AM +0000, John Birrell wrote:
> jb          2008-08-27 06:59:01 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:        (Branch: RELENG_7)
>     .                    UPDATING 
>   Log:
>   SVN rev 182252 on 2008-08-27 06:59:01Z by jb
>   
>   Add a mention of DTrace and the dog that are the commit message.
>   
>   Revision    Changes    Path
>   1.507.2.11  +24 -0     src/UPDATING

It seems to be at least two issues, besides already fixed MAC entry
point:

1. The /usr/libexec/cc1 binary is broken after buildworld (at least on
   i386). Looking at the readelf output, I noted that .SUNW_ctf section
   is marked as PROGBITS and has some low alignment, that resulted in
   the following stripped binary:

   Program Headers:
   Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
   LOAD           0x000000 0x08048000 0x08048000 0x51943a 0x51943a R E 0x20
   LOAD           0x519440 0x08562000 0x08562000 0x05fc4 0x9be8c RW  0x20
   NOTE           0x000094 0x08048094 0x08048094 0x00018 0x00018 R   0x4

   Such ELF cannot beload due to unaligned segments.
   Note that I did not turned on CTF generation for world.

2. UP kernel breakage. The following patch fixed it for me:
Index: sys/cddl/dev/cyclic/i386/cyclic_machdep.c
===================================================================
--- sys/cddl/dev/cyclic/i386/cyclic_machdep.c	(revision 182275)
+++ sys/cddl/dev/cyclic/i386/cyclic_machdep.c	(working copy)
@@ -127,7 +127,9 @@
 	 */
 	if (c == &solaris_cpu[curcpu])
 		(*func)(param);
+#ifdef SMP
 	else
 		smp_rendezvous_cpus((cpumask_t) (1 << c->cpuid), NULL,
 		    func, smp_no_rendevous_barrier, param);
+#endif
 }
Index: sys/cddl/dev/cyclic/amd64/cyclic_machdep.c
===================================================================
--- sys/cddl/dev/cyclic/amd64/cyclic_machdep.c	(revision 182275)
+++ sys/cddl/dev/cyclic/amd64/cyclic_machdep.c	(working copy)
@@ -127,7 +127,9 @@
 	 */
 	if (c == &solaris_cpu[curcpu])
 		(*func)(param);
+#ifdef SMP
 	else
 		smp_rendezvous_cpus((cpumask_t) (1 << c->cpuid), NULL,
 		    func, smp_no_rendevous_barrier, param);
+#endif
 }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080827/c924abd4/attachment.pgp


More information about the cvs-src mailing list