Carsten,

I noticed that you had already been yourself part of that 2014 discussion I 
referred to.

> But for now I forward you to  
> https://openindiana.org/pipermail/openindiana-discuss/2014-July/thread.html#16001
>    

So you already read it all, did you?


Plus, 1 self-correction: Flash-plugin was (and even after the attempted "fix" 
still is) broken for another reason, not because stuff got removed but because 
new CPU instructions got added in November 2012.

I have a fix which makes it work again (without loading ortder nonsense like 
first visiting  http://www.adobe.com/software/flash/about/ and reloading it 
many times).

For many sites like watching Webcams of public places and factories in China 
Flash is still mandatory, suach as for this site:  
http://jia.360.cn/pc/view.html  

But before I return to the plugin wrapper and the kernel fix to revive native 
Flash support, first Vbox5.

BTW, this night I finally got USB really working.
The reason was very silly, all the usb diff as uploaded yesterday was useless: 

This single compile line _must_ be compiled with gcc4.5, not 
Illumos-patched-4.4.4 (worse) and before all not with 4.9 or newer, this only 
matters for this single compile line of the entire Vbox src tree, the rest 
_can_ be compiled with 4.9:


in build/amd64/src/VBox/HostDrivers/VBoxUSB/solaris


/usr/gcc/4.5/bin/gcc -c -O2 -std=c99 -m64 -mcmodel=kernel  
-I/PHOTOSVIDEOS1000GB/COMPILE/00__ILLUMOS/code20160608wed/04__solaris11/code/ALP__KMS_MATE__checkout20160911sun/oi-userland/components/virtualbox5_qt4/build/amd64/src/VBox/HostDrivers/VBoxUSB/solaris
 
-I/PHOTOSVIDEOS1000GB/COMPILE/00__ILLUMOS/code20160608wed/04__solaris11/code/ALP__KMS_MATE__checkout20160911sun/oi-userland/components/virtualbox5_qt4/build/amd64/src/VBox/HostDrivers/VBoxUSB/solaris/include
 -I/usr/platform/i86pc/include -I/usr/include 
-I/PHOTOSVIDEOS1000GB/COMPILE/00__ILLUMOS/code20160608wed/04__solaris11/code/ALP__KMS_MATE__checkout20160911sun/oi-userland/components/virtualbox5_qt4/build/amd64/out/solaris.amd64/release/obj/vboxusb/dtrace
 
-I/PHOTOSVIDEOS1000GB/COMPILE/00__ILLUMOS/code20160608wed/04__solaris11/code/ALP__KMS_MATE__checkout20160911sun/oi-userland/components/virtualbox5_qt4/build/amd64/include
 
-I/PHOTOSVIDEOS1000GB/COMPILE/00__ILLUMOS/code20160608wed/04__solaris11/code/ALP__KMS_MATE__checkout20160911sun/oi-userland/components/virtualbox5_qt4/build/amd64/out/solaris.amd64/release
 -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM 
-DVBOX_WITH_RAW_MODE -DRT_OS_SOLARIS -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 
-D__AMD64__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING 
-DRTPATH_APP_PRIVATE=\"/opt/VirtualBox\" 
-DRTPATH_APP_PRIVATE_ARCH=\"/opt/VirtualBox/amd64\" 
-DRTPATH_APP_PRIVATE_ARCH_TOP=\"/opt/VirtualBox\" 
-DRTPATH_SHARED_LIBS=\"/opt/VirtualBox/amd64\" 
-DRTPATH_APP_DOCS=\"/opt/VirtualBox\" -DIN_RING0 -DIN_RT_R0 -DHC_ARCH_BITS=64 
-DGC_ARCH_BITS=64 -D_MACHDEP -D_KERNEL -D_STRICT_STDC -DIN_RT_R0 -DIN_SUP_R0 
-DVBOX_SVN_REV=110634 
-Wp,-MD,/PHOTOSVIDEOS1000GB/COMPILE/00__ILLUMOS/code20160608wed/04__solaris11/code/ALP__KMS_MATE__checkout20160911sun/oi-userland/components/virtualbox5_qt4/build/amd64/out/solaris.amd64/release/obj/vboxusb/VBoxUSB-solaris.o.dep
 
-Wp,-MT,/PHOTOSVIDEOS1000GB/COMPILE/00__ILLUMOS/code20160608wed/04__solaris11/code/ALP__KMS_MATE__checkout20160911sun/oi-userland/components/virtualbox5_qt4/build/amd64/out/solaris.amd64/release/obj/vboxusb/VBoxUSB-solaris.o
 -Wp,-MP -o 
/PHOTOSVIDEOS1000GB/COMPILE/00__ILLUMOS/code20160608wed/04__solaris11/code/ALP__KMS_MATE__checkout20160911sun/oi-userland/components/virtualbox5_qt4/build/amd64/out/solaris.amd64/release/obj/vboxusb/VBoxUSB-solaris.o
 
/PHOTOSVIDEOS1000GB/COMPILE/00__ILLUMOS/code20160608wed/04__solaris11/code/ALP__KMS_MATE__checkout20160911sun/oi-userland/components/virtualbox5_qt4/build/amd64/src/VBox/HostDrivers/VBoxUSB/solaris/VBoxUSB-solaris.c


Nothing else works, neither changing optimization to -O0 nor removing or 
changing any individual or permutation of the gcc flags. It really has to be 
gcc4.5 (or 4.4.x but without specific Illumos diffs).


I noticed that the official Oracle provided VirtualBox bins also were created 
with *this*:


GCC: (GNU) 4.5.2
ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.2458

Quicte odd, perhaps a stack corruption.
IPS didn't even let me install 4.5, I had to mount over an old archive from my 
userland work in 2014 that was originally planned for OpenSXCE2014.11.

I really dislike this behaviour of IPS, that it simply thinks it knows better 
than myself what I should install or not.

Until IPS finally tells me such heroic output takes several minutes (5 to 10, 
depending on available memory).

Ok, but pkgutil'ified SVR4 on the other hand has other but also significat 
flaws .
So unfortunately we don't have anything better than IPS which still offers full 
backwards compatibility to SVR4 pkgadd while offering all the benefits of 
something like IPS/apt-get/yum rpm etc.




Regards,
%martin





_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss
  • [OpenIndiana-discuss] Su... Hans J Albertsson
    • Re: [OpenIndiana-di... cjt
      • Re: [OpenIndian... Hans J Albertsson
        • Re: [OpenIn... Carsten Grzemba
          • Re: [Op... Мартин Бохниг via openindiana-discuss
            • Re... Мартин Бохниг via openindiana-discuss
              • ... Мартин Бохниг via openindiana-discuss
                • ... Alexander Pyhalov
                • ... Мартин Бохниг via openindiana-discuss
                • ... Alexander Pyhalov
                • ... Predrag Zečević - Unix Systems Administrator
                • ... Aurélien Larcher
                • ... Мартин Бохниг via openindiana-discuss
                • ... Мартин Бохниг via openindiana-discuss
                • ... Alexander Pyhalov
                • ... Till Wegmüller

Reply via email to