Cinelerra for 64bit
Hi!
I tried to do some video editing under Arch64 and wanted to use the cinelerra suite for this. So after checking out on the cinelerra-cvs and cinelerra-svn PKGBUILDS in AUR I couldn't compile both of them. The regular cinelerra-cvs package doesn't exist for download (even the sources aren't downloadable) so I decided to use the cinelerra-svn. I modified it a little bit to use the new svn repository as described on the homepage. It downloaded everything and started to compile. But after quiet some time of compiling it stopped with some error.
Does anybody know how to compile it and use it under 64bit. On the homepage it says that it is 64bit compatible. But even the latest svn version won't compile. So does anybody know, what I'm doing wrong?
Thanks!
OK, here's some information about what I've done so far to get cinelerra-svn from the AUR working:
I used yaourt to download the PKGBUILD and receive the latest version from svn. I had to edit the PKGBUILD in order to get the files from svn since the entry from the PKGBUILD was wrong.
The correct entry from the svn section is:
_svntrunk=svn://svn.skolelinux.org/cinelerra/trunk
_svnmod=hvirtual
After that all data is downloaded, the build process starts like it should. But than is stops, dropping the following errors:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libmpeg3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_FIREWIRE -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DENCORE_INCLUDE="encore50/encore.h" -I./ffmpeg/libavcodec -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -mmmx -m3dnow -MT mpeg4.lo -MD -MP -MF .deps/mpeg4.Tpo -c mpeg4.c -fPIC -DPIC -o .libs/mpeg4.o
/bin/sh ../libtool --tag=CC --tag=CC --mode=link gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_FIREWIRE -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DENCORE_INCLUDE="encore50/encore.h" -I./ffmpeg/libavcodec -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -mmmx -m3dnow -o libquicktimehv.la -rpath /usr/lib -L/usr/X11R6/lib -version-info 1:0:0 -release 1.6.0 -Wl,--no-undefined atom.lo avcc.lo avi_hdrl.lo avi_idx1.lo avi_movi.lo avi_strl.lo avi_odml.lo avi_ix.lo avi_indx.lo avi_riff.lo cmodel_default.lo cmodel_float.lo cmodel_yuv420p.lo cmodel_yuv422.lo codecs.lo colormodels.lo ctab.lo dinf.lo dref.lo edts.lo elst.lo esds.lo graphics.lo hdlr.lo ima4.lo interlacemodes.lo jpeg.lo libdv.lo libmjpeg.lo matrix.lo mdat.lo mdhd.lo mdia.lo minf.lo moov.lo mp4a.lo mvhd.lo plugin.lo qtcache.lo qtdv.lo qtffmpeg.lo qth264.lo qtpng.lo qtmp3.lo quicktime.lo raw.lo rawaudio.lo rle.lo smhd.lo stbl.lo stco.lo stsc.lo stsd.lo stsdtable.lo stss.lo stsz.lo stts.lo tkhd.lo trak.lo twos.lo udta.lo ulaw.lo util.lo v308.lo v408.lo v410.lo vmhd.lo vbraudio.lo vorbis.lo workarounds.lo yuv2.lo yuv4.lo yv12.lo wmx2.lo wma.lo mpeg4.lo ffmpeg/libavcodec/libavcodec.la -logg -lvorbis -lm -logg -lvorbisenc -lvorbis -lm -logg -lvorbisfile -lvorbis -lm -logg -ltheora -logg -lmp3lame -lfaad -lfaac encore50/libencore.la ../libmpeg3/libmpeg3hv.la -lx264 -ldv -lm -ljpeg -lpng -lz -lpthread -lm -lX11 -lm -ldl -lpthread
gcc -shared .libs/atom.o .libs/avcc.o .libs/avi_hdrl.o .libs/avi_idx1.o .libs/avi_movi.o .libs/avi_strl.o .libs/avi_odml.o .libs/avi_ix.o .libs/avi_indx.o .libs/avi_riff.o .libs/cmodel_default.o .libs/cmodel_float.o .libs/cmodel_yuv420p.o .libs/cmodel_yuv422.o .libs/codecs.o .libs/colormodels.o .libs/ctab.o .libs/dinf.o .libs/dref.o .libs/edts.o .libs/elst.o .libs/esds.o .libs/graphics.o .libs/hdlr.o .libs/ima4.o .libs/interlacemodes.o .libs/jpeg.o .libs/libdv.o .libs/libmjpeg.o .libs/matrix.o .libs/mdat.o .libs/mdhd.o .libs/mdia.o .libs/minf.o .libs/moov.o .libs/mp4a.o .libs/mvhd.o .libs/plugin.o .libs/qtcache.o .libs/qtdv.o .libs/qtffmpeg.o .libs/qth264.o .libs/qtpng.o .libs/qtmp3.o .libs/quicktime.o .libs/raw.o .libs/rawaudio.o .libs/rle.o .libs/smhd.o .libs/stbl.o .libs/stco.o .libs/stsc.o .libs/stsd.o .libs/stsdtable.o .libs/stss.o .libs/stsz.o .libs/stts.o .libs/tkhd.o .libs/trak.o .libs/twos.o .libs/udta.o .libs/ulaw.o .libs/util.o .libs/v308.o .libs/v408.o .libs/v410.o .libs/vmhd.o .libs/vbraudio.o .libs/vorbis.o .libs/workarounds.o .libs/yuv2.o .libs/yuv4.o .libs/yv12.o .libs/wmx2.o .libs/wma.o .libs/mpeg4.o -Wl,--whole-archive ffmpeg/libavcodec/.libs/libavcodec.a encore50/.libs/libencore.a -Wl,--no-whole-archive -Wl,--rpath -Wl,/tmp/yaourt-tmp-root/aur-cinelerra-svn/cinelerra-svn/src/hvirtual/hvirtual/libmpeg3/.libs -L/usr/X11R6/lib -la52 -lvorbisenc -lvorbisfile -lvorbis -ltheora -logg -lmp3lame -lfaad -lfaac ../libmpeg3/.libs/libmpeg3hv.so -lx264 -ldv -ljpeg -lpng -lz -lX11 -lm -ldl -lpthread -march=athlon64 -msse3 -mmmx -m3dnow -Wl,--no-undefined -Wl,-soname -Wl,libquicktimehv-1.6.0.so.1 -o .libs/libquicktimehv-1.6.0.so.1.0.0
/usr/bin/ld: /usr/bin/../lib/libx264.a(common.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/bin/../lib/libx264.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libquicktimehv.la] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-root/aur-cinelerra-svn/cinelerra-svn/src/hvirtual/hvirtual/quicktime'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-cinelerra-svn/cinelerra-svn/src/hvirtual/hvirtual/quicktime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-cinelerra-svn/cinelerra-svn/src/hvirtual/hvirtual'
make: *** [all] Error 2
==> ERROR: Build Failed. Aborting...
==> ERROR: Reverting pkgver...
Error: Unable to build last cvs/svn/mercurial/git cinelerra-svn package.
See /var/abs/local/yaourtbuild/cinelerra-svn directory for details
So from here I cant' go on, because I don't know enough about the building and compiling processes in order to fix it. Maybe somebody else can help...
Thanks!
Similar Messages
-
Capitvate 8 for 64bit windows downloaded, but "install now" button in akamai downloader has no effect. How to install?
check your computer or, if you don't know how to search for files, redownlload:
Downloadable installation files available:
Suites and Programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
Acrobat: XI, X | 9,8 | 9 standard
Premiere Elements: 13 |12 | 11, 10 | 9, 8, 7
Photoshop Elements: 13 |12 | 11, 10 | 9,8,7
Lightroom: 5.7.1| 5 | 4 | 3 | 2.7(win),2.7(mac)
Captivate: 8 | 7 | 6 | 5
Contribute: CS5 | CS4, CS3
Download and installation help for Adobe links
Download and installation help for Prodesigntools links are listed on most linked pages. They are critical; especially steps 1, 2 and 3. If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.
window using the Lightroom 3 link to see those 'Important Instructions'. -
OEM Grid Control 10201, cannot find executable for 64bit.
Hi,
I need to install OEM Grid crontol 10.2.0.4 on Sun 64bit. I have already installed OEM 10.2.0.4 64 bit patch installer but I am not able to find the 10.2.0.1 full installer for 64bit for Solaris although I can see 10.2.0.1 for 32 bit which I do not need.
Can anyone please tell help me?
Thanks,
Ankit.Hi,
Grid control software for solaris is only 32bit. It is the agent where you can have choices if you have 64bit Solaris. And for agents also solaris64 version 10.2.0.2 is available.
Can you mention the source from where you downloaded 64 bit grid control source (10.2.0.4)?
Agents(32 bits)
Solaris x86
10.2.0.x
Agents(64 bits)
Solaris x86-64
10.2.0.x
You can go ahead and install / upgrade grid from
http://www.oracle.com/technology/software/products/oem/htdocs/solsoft.html
Regards,
Nirav -
Where are the Sybase ASE 15.7 client downloads for 64bit?
Have spend a lot of time finding the latest and greatest downloads of the Sybase ASE 15.7 Client for 64bit. The one I could find (Refresh version (Which version is this anyway?)). But i need also the EBF/SP 's
Please adviceHi,
You can find the downloads at SAP service market place.
SAP Service Marketplace - Home
Click SAP Support Portal (middle of the screen)
Click Software Downloads (grey top menu bar)
Click Support Packages and Patches (middle of the screen under A-Z index)
Select 'S'
Select 'SDK for SAP ASE'
This is the location for the latest downloads.
Older downloads can be found in 'SY Software Developer Kit'
I believe refresh is the PC Client that includes SDK and GUI tools for windows.
Go back to the A-Z letter screen.
Select 'Installation and Upgrades'
This can be found under 'A'
Click 'SAP Adaptive Server Enterprise'
Refresh is around SP100 I believe.
Not 100% on the exact version, but this is one of the last PC Client downloads as it is being EOL.
Sybase Central that came in PC Client is EOL.
DBISQL / interactive SQL is being moved to the SDK in 16.x.
Regards,
Ryan -
Download Link for Oracle WebLogic Server setup for 64Bit 2008R2 Server
I need One Information. Can we get Oracle WebLogic Server setup for 64Bit 2008R2 Server. If Yes Please provide me the Dowload Link.
Thanks
VishwaGot link ... downloading Setup .. trying for my Luck
-
ITunes won't load, says I need iTunes for 64bit?
I tried to install iTunes in my new laptop, says there were errors, says I need iTunes for 64bit, but can't find it?
says there were errors
What's the precise text of the errors, please? -
Detection of MS 982726 for 64bit Office not correct
Was trying to figure out why the filter update for 64bit windows is showing
up for all our devices when we are using 32 bit Office 2010. Checked out
the debug.log and noticed both the 32 and 64 bit detections of the patch are
looking in the same location. The 64 bit should not be looking in the
'Program Files (x86)' but in 'Program Files'
Filename : [MS 982726 Outlook 2010 Junk E-mail Filter Update (December 2012)
(All Languages) (64Bit).pls]
OS Platform : [Microsoft Windows 7 Professional x64]
Library Build : [5.2.2][Sep 25 2012 16:01:07]
Finished Importing
Detecting
File [C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE]
File Version Found: [14.0.6109.5005], Check Against: <= [15]
File Version information within specified range
File [C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE]
File Version Found: [14.0.6109.5005], Check Against: >= [14]
File Version information within specified range
File [C:\Program Files (x86)\Microsoft Office\Office14\OUTLFLTR.DAT]
File Version Found: [14.0.7605.1090], Check Against: >= [14.0.11829.524]
File Version information NOT within specified range
Finished Detecting
Opening file:
MS 982726 Outlook 2010 Junk E-mail Filter Update (December 2012) (All
Languages).pls
Importing
Filename : [MS 982726 Outlook 2010 Junk E-mail Filter Update (December 2012)
(All Languages).pls]
OS Platform : [Microsoft Windows 7 Professional x64]
Library Build : [5.2.2][Sep 25 2012 16:01:07]
Finished Importing
Detecting
File [C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE]
File Version Found: [14.0.6109.5005], Check Against: <= [15]
File Version information within specified range
File [C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE]
File Version Found: [14.0.6109.5005], Check Against: >= [14]
File Version information within specified range
File [C:\Program Files (x86)\Microsoft Office\Office14\OUTLFLTR.DAT]
File Version Found: [14.0.7605.1090], Check Against: >= [14.0.11829.524]
File Version information NOT within specified range
Finished Detecting
Jim Koerner
Server - ZCM 11.2.2 w/MU1 and Internal Database on Win2008R2x64
Client - ZCM 11.2.2 w/MU1 on Win7SP1x64I will, but my track record on patch fixes is pretty dismal. My system
management patches on 64bit machines SR has been going on for 8 months but
supposedly fixed in 11.2.3 and a most other patch SRs were multiple months.
That’s the main reason I laid off new SRs for them.
They seem to have a real low priority which I can understand if you are
talking about a single patch with issues.
Jim
"Shaun Pond" wrote in message
news:[email protected]..
Jim,
can you open SRs for these? It's the quickest way to get them updated
Shaun Pond -
I have a Windows 64 bit OS and would like to know if anyone know of any future plans for Apple to provide drivers for 64bit ver so that my iphone will work on my system.
make the request as stated above, the drivers are not that tough to create, and with the exception of itunes being a pain to get working without a 32 bit executable, the driver is the easy part. I suspect if there ever becomes a fully stable 64 bit itunes version the driver is right behind it
-
Waterfox or Mozilla developer version? (for 64bit Users)
which one is faster for win8.1 64bit? Mozilla Dev version or Waterfox?
ThanksI'm pretty sure because those browsers are comared with 32bit versions of browser. As Waterfox is solely made for 64bit architecture. It could utilize system resources from 64 bit OS more resulting faster performance. I've installed it and saw the process manager on my windows 8.1 64bit machine. which showed it is running on 32 bit. So technically waterfox should give more performance than firefox dev version.
-Thank you -
Nikon D300 Raw files for 64bit windows vista machine not appearing in Photoshop CS3 raw
I purchased a new 64bit computer running Vista. I have installed Photoshop CS3 including the latest updates and the 4.6 (Camera Raw.8bi) raw update file. I included the raw file in C:\Program Files (x86)\Common Files\Adobe\Plug-Ins\CS3\File Formats. I have purged cache in Bridge and I still cannot view the raw files in Bridge. I only see a gray square with a Blue NEF. I can open the files in Photoshop however. What can I do to see the files in Bridge?
Nikon encrypts RAW file data
ByMichael R. Tomkins, The Imaging Resource
(Wednesday, April 20, 2005 - 02:16 EDT)
A news item posted on Sunday by PhotoshopNews.com reports on comments from Thomas Knoll, one of the original authors of Adobe Photoshop, relating to the RAW file format used in Nikon's D2X and D2Hs digital SLRs.
<IFRAME src="http://208.43.255.194/cgi-bin/advertpro/banners.fpl?region=112&keyword=NULL" height="250" width="300" marginwidth="0" marginheight="0" vspace="0" hspace="0" frameborder="0" align="middle" scrolling="no"> <A href="http://208.43.255.194/cgi-bin/advertpro/blink.fpl?region=112&slot=1" target="_blank"> <IMG src="http://208.43.255.194/cgi-bin/advertpro/bimg.fpl?region=112&slot=1&keyword=NULL" border="0" width="300" height="250" alt="Click Here!"> </A> </IFRAME>
Thomas Knoll is currently the chief engineer for Adobe Camera Raw, the company's RAW file conversion software. The PhotoshopNews item references a forum thread started by Mr. Knoll in Adobe's official user forums, where he reveals that .NEF RAW files from the latest Nikon digital SLRs encrypt data relating to the white balance setting the photo was shot with.
RAW file formats vary significantly between digital camera manufacturers (and often, between different models in a manufacturer's lineup), and the manufacturers generally won't publicly disclose the specification for the RAW file format(s) they use. Some will offer plugins or software development kits (SDKs) that enable their RAW files to be opened in third-party applications, but these generally have some limitations attached to their use.
In addition, the companies generally offer RAW file conversion software of their own, either as part of their camera bundles or as an added-cost option. Nikon offer their pro SLRs with PictureProject software that includes limited control over the RAW file conversion process, and then offer the more feature-rich Nikon Capture conversion software for an added cost. In a recent publication on the company's Nikon Pro website, it suggested that it feels Nikon Capture is better-suited to photographers, while Adobe's Photoshop is more suited to graphic artists. Still, different photographers have different workflow preferences, and for this reason third parties such as Adobe often reverse engineer the RAW file formats, allowing them to be opened in their own software - sometimes with even better image quality than the original manufacturer's software.
In a way, it is understandable that companies would want to encrypt RAW file data from their products - it allows them to pick and choose which competitors are able to open RAW files shot with their products, and allows them to generate new revenue streams from the sale of their own RAW file conversion software (or, if they choose, the sale of licenses allowing competitor programs to access their RAW file data). Nikon is not the first company we're aware of to encrypt data in RAW files; Sony's Cyber-shot DSC-F828 RAW files contain encrypted data. In that instance, however, Sony granted permission for Adobe to decrypt the data in their software. At the current time, Mr. Knoll states that while Adobe has signed a non-disclosure agreement that grants them access to use Nikon's SDK, they have not received any response to requests from Adobe that the company be allowed to decrypt the white balance data, which would allow closer integration with their software than is possible with the SDK.
The fact that Nikon has chosen to encrypt a portion of the RAW file data would not be particularly problematic for third parties to overcome, were it not for certain laws enacted around the world in recent years. One such law is the United States' "Digital Millennium Copyright Act", often referred to as the DMCA, which makes it illegal to produce technology that can circumvent measures designed to protect copyright. One could argue that Nikon's encryption of the white balance data is just such a measure - which would make it an offense for a third party without permission to make software that could decrypt the original white balance setting used by the camera when the photo was shot. One could equally argue, however, that the copyright over the RAW file belongs to the photographer who captured the image - and hence the choice over what is done with that copyrighted work is entirely up to the photographer.
Unfortunately, there's no clear-cut answer, and short of a company or programmer finding themselves in court for having cracked the encryption, there isn't likely to be such an answer any time soon. This presents a problem for third parties attempting to make their own RAW file conversion routines for the D2X and D2Hs, as if they don't want to risk opening themselves up to legal action, they aren't able to determine the original white balance setting. Hence, they must either request the white balance setting from the user as the RAW file is converted, or attempt to determine an appropriate white balance setting automatically (which would not necessarily be the same as that determined by the camera itself).
Nikon hasn't communicated their reasons for encrypting the white balance information in their latest NEF formats, but we have to say it doesn't sound like a very good idea. While Nikon Capture does indeed offer excellent capabilities for people to manipulate images saved in NEF formats, many photographers and organizations have already established workflows based on Adobe's RAW plugin for Photoshop and other image-processing tools. The biggest consequence of this move on Nikon's part seems likely to be to push more photographers onto other camera platforms. It's hard to imagine that increased sales of Nikon Capture will make up the revenue lost from camera and lens sales going forward. -
Promise Drivers for 64Bit?
Where Can I find the drivers for my Promise controller for Windows XP 64bit? Ive tried searching on this fourm and PlanetAMD. No LUck
Hi Jocko
OK, I'll try explain (and remember!)
First I installed XP32 on the lone SATA drive. No problem as it was the only drive.
Then I added an old PATA drive, which BIOS and Windows Setup always sees as Disk 0 and the SATA as Disk 1.
I then installed XP32 onto the PATA drive. No problem, I think it was because Windows saw it as Disk 0 as it put the MBR in the right place.
I then put Server64 and XP64 on the PATA drive to test them (leaving by day-to-day install safe on the SATA drive. Again, no problems, it updated the MBR correctly to let me multiboot between the 3 OSes on the PATA drive.
I then tried to add an install of XP64 to the SATA drive, but because I left the PATA drive connected, Windows setup updated the MBR of the PATA drive instead. On subsequent reboot it failed because it was pointing to the wrong drive (I think). So I had half an install on the SATA drive, and a boot.ini on the PATA which pointed to a non-existent half installation. Even with BIOS listing the SATA drive as the boot device, each time the PC restarted it tried to carry on the installation and of course failed.
That's when I had to refer to my book on Recovery Console...
So it seems that if multiple drives are installed, it will update the MBR on the lowest ID drive, which is not necessarily the drive the installation is actually going on to! I think! -
ITunes for 64bit Windows 7 Driver/CD/DVD/Drive Issues-
Hi There
I am sure that there are many many users out there suffering the same frustration as me in regard to ITunes just not working properly with Windoews 7 (64Bit).
I have been trying to solve the mystery of "ITunes for Windows Registry Settings Warning When Opening Itunes.
I have tried all the recommended actions to correct this problem without any success and I do mean ALL.
Below is a screen shot of my registry, can anyone see anything wrong with it?
In the meantime (Last four months) I have stopped using ITunes and instead have used Digital 7, this will be my very last attempt to get ITunes working properly, failure will mean consigning ITunes to the same place as any other Software that does not do wshat it says on the can.
I hope someone can help.That's good that it is in device manager, but what about in Computer with the rest of the drivers?
Also, are the drives listed in Computer and device manager or just device manager?
I want to verify if the symptoms are present for a particular software issue before looking at other issues. I really doubt it is a driver issue at this point. If it was, then I suspect the issue would be present from day one.
It could be that the lens has dust buildup preventing it from working properly. They do make CD cleaning kits that have a special CD designed to clean the laser as it passes over the lens. If you happen to have one of these, or access to one, I recommend trying this step to make sure it isn't as simple as dust buildup interfering with the laser.
It could also be hardware failure, but I would like to try a few other steps before coming to that conclusion.
It may be worth reviewing this document as it covers a lot of the most common issues behind DVD drive issues. Feel free to skip any steps you have already tried.
Let me know what happens.
↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓ -
Maximum heap size for 64bit JVM
Hi,
I am trying to set the maximum heap size for a java process in a 64bit JVM . I am not able to set more then 3G
command line config:
java -Xms64m -Xmx3g -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=8000 com.superpages.puboptions.CampaignFeedStarter >> publisher.out 2>&1 &
Hardware / software configs
*$uname -a*
SunOS labsbear 5.9 Generic_122300-19 sun4u sparc SUNW,Sun-Fire-V440
*16GB total physical memory*
*4 processor machine*
*64 bit JVM*
JDK1.6
where is this limitation coming from. How to set the heap size to 6g.
Thanks for your time
MeenaYou need to use the -d64 switch to request the 64-bit JVM. E.g.,$ java -showversion -Xmx6g HelloWorld
Invalid maximum heap size: -Xmx6g
The specified size exceeds the maximum representable size.
Could not create the Java virtual machine.
$ java -showversion -d64 -Xmx6g HelloWorld
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b04)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
Hello world! -
Hi,
I don't know if I should make bug report or not. I have found a strange error within a loop iteration up to Integer.MAXVALUE.
Here is the source:
public class problem64bit
* @param args
public static void main(final String[] args)
System.out.println("java.version = \t"
+ System.getProperty("java.version") + " "
+ System.getProperty("java.vm.name") + " ("
+ System.getProperty("sun.arch.data.model") + "Bit)");
System.out.println("OS = \t\t" + System.getProperty("os.name") + " ("
+ System.getProperty("os.version") + ")\n");
booleanInvert(Integer.MAX_VALUE);
booleanInvert(Integer.MAX_VALUE - 1);
booleanInvert(Integer.MAX_VALUE - 2);
private static void booleanInvert(final int max)
System.out.println("BooleanInvert with max = " + max + " iterations");
long timeStart = System.currentTimeMillis();
boolean test1 = false;
boolean test2 = false;
boolean test3 = false;
for (int i = 0; i < max; i++)
test1 = !test1;
for (int i = 0; i < max; i++)
test2 = test2 ? false : true;
for (int i = 0; i < max; i++)
test3 ^= true;
System.out.println("Time: " + (System.currentTimeMillis() - timeStart)
+ "ms");
if (test1 != test2 || test1 != test3)
System.out.println("ERROR: Boolean invert\n\ttest1=" + test1
+ "\n\ttest2=" + test2 + "\n\ttest3=" + test3);
} else
System.out.println("Everything as it should be!");
}The result is different between a x32JRE and a x64JRE
Results on a x32JRE:
java.version = 1.6.0_18 Java HotSpot(TM) Client VM (32Bit)
OS = Windows 7 (6.1)
BooleanInvert with max = 2147483647 iterations
Time: 7812ms
Everything as it should be!
BooleanInvert with max = 2147483646 iterations
Time: 7469ms
Everything as it should be!
BooleanInvert with max = 2147483645 iterations
Time: 8801ms
Everything as it should be!and here are the results on a x64JRE
java.version = 1.6.0_18 Java HotSpot(TM) 64-Bit Server VM (64Bit)
OS = Windows 7 (6.1)
BooleanInvert with max = 2147483647 iterations
Time: 13ms
ERROR: Boolean invert
test1=true
test2=true
test3=false
BooleanInvert with max = 2147483646 iterations
Time: 11ms
Everything as it should be!
BooleanInvert with max = 2147483645 iterations
Time: 0ms
Everything as it should be!as you can see, the result on the x32 JRE is the expected one. The x64 JRE is very fast but there seems to be a nasty bug in the optimization code for the loops because only with Interger.MAXVALUE there is a problem.
What to do now - can anybody reproduce the error and sould i report it as a bug? Is it only in the Win(7) x64 JRE?
greetings
Edited by: GandalfTheWhite on Feb 13, 2010 6:30 AM
Edited by: GandalfTheWhite on Feb 13, 2010 6:38 AM
Edited by: GandalfTheWhite on Feb 13, 2010 6:50 AMHi,
well this is the first time I hear that eclipse uses its own compiler! But nothing is impossible :-) -> as I know now eclipse uses its own incremental compiler :-(.
Here are the javap codes of the two class files (minimized example!)
But I will update my eclipse with the lates stable build an have a look at the problem again. Thx for your help!
eclipse.class
Compiled from "problem64Bit.java"
public class problem64Bit extends java.lang.Object{
public problem64Bit();
Code:
0: aload_0
1: invokespecial #8; //Method java/lang/Object."<init>":()V
4: return
public static void main(java.lang.String[]);
Code:
0: ldc #16; //int 2147483647
2: invokestatic #17; //Method booleanInvert:(I)V
5: ldc #21; //int 2147483646
7: invokestatic #17; //Method booleanInvert:(I)V
10: return
private static void booleanInvert(int);
Code:
0: iconst_0
1: istore_1
2: iconst_0
3: istore_2
4: iconst_0
5: istore_3
6: goto 22
9: iload_1
10: ifeq 17
13: iconst_0
14: goto 18
17: iconst_1
18: istore_1
19: iinc 3, 1
22: iload_3
23: iload_0
24: if_icmplt 9
27: iconst_0
28: istore_3
29: goto 39
32: iload_2
33: iconst_1
34: ixor
35: istore_2
36: iinc 3, 1
39: iload_3
40: iload_0
41: if_icmplt 32
44: iload_1
45: iload_2
46: if_icmpeq 83
49: getstatic #24; //Field java/lang/System.out:Ljava/io/PrintStream;
52: new #30; //class java/lang/StringBuilder
55: dup
56: ldc #32; //String ERROR: Boolean invert\n\ttest1=
58: invokespecial #34; //Method java/lang/StringBuilder."<init>":(Ljava/lang/String;)V
61: iload_1
62: invokevirtual #37; //Method java/lang/StringBuilder.append:(Z)Ljava/lang/StringBuilder;
65: ldc #41; //String \n\ttest2=
67: invokevirtual #43; //Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
70: iload_2
71: invokevirtual #37; //Method java/lang/StringBuilder.append:(Z)Ljava/lang/StringBuilder;
74: invokevirtual #46; //Method java/lang/StringBuilder.toString:()Ljava/lang/String;
77: invokevirtual #50; //Method java/io/PrintStream.println:(Ljava/lang/String;)V
80: goto 91
83: getstatic #24; //Field java/lang/System.out:Ljava/io/PrintStream;
86: ldc #55; //String Everything as it should be!
88: invokevirtual #50; //Method java/io/PrintStream.println:(Ljava/lang/String;)V
91: returnconsole.class
Compiled from "problem64Bit.java"
public class problem64Bit extends java.lang.Object{
public problem64Bit();
Code:
0: aload_0
1: invokespecial #1; //Method java/lang/Object."<init>":()V
4: return
public static void main(java.lang.String[]);
Code:
0: ldc #2; //int 2147483647
2: invokestatic #3; //Method booleanInvert:(I)V
5: ldc #4; //int 2147483646
7: invokestatic #3; //Method booleanInvert:(I)V
10: return
private static void booleanInvert(int);
Code:
0: iconst_0
1: istore_1
2: iconst_0
3: istore_2
4: iconst_0
5: istore_3
6: iload_3
7: iload_0
8: if_icmpge 27
11: iload_1
12: ifne 19
15: iconst_1
16: goto 20
19: iconst_0
20: istore_1
21: iinc 3, 1
24: goto 6
27: iconst_0
28: istore_3
29: iload_3
30: iload_0
31: if_icmpge 44
34: iload_2
35: iconst_1
36: ixor
37: istore_2
38: iinc 3, 1
41: goto 29
44: iload_1
45: iload_2
46: if_icmpeq 86
49: getstatic #5; //Field java/lang/System.out:Ljava/io/PrintStream;
52: new #6; //class java/lang/StringBuilder
55: dup
56: invokespecial #7; //Method java/lang/StringBuilder."<init>":()V
59: ldc #8; //String ERROR: Boolean invert\n\ttest1=
61: invokevirtual #9; //Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
64: iload_1
65: invokevirtual #10; //Method java/lang/StringBuilder.append:(Z)Ljava/lang/StringBuilder;
68: ldc #11; //String \n\ttest2=
70: invokevirtual #9; //Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
73: iload_2
74: invokevirtual #10; //Method java/lang/StringBuilder.append:(Z)Ljava/lang/StringBuilder;
77: invokevirtual #12; //Method java/lang/StringBuilder.toString:()Ljava/lang/String;
80: invokevirtual #13; //Method java/io/PrintStream.println:(Ljava/lang/String;)V
83: goto 94
86: getstatic #5; //Field java/lang/System.out:Ljava/io/PrintStream;
89: ldc #14; //String Everything as it should be!
91: invokevirtual #13; //Method java/io/PrintStream.println:(Ljava/lang/String;)V
94: returnas far as i can see... there a some differences but more could not make out of it.
greeting gandalf
ps here the source for the smaler sample
public class problem64Bit
* @param args
* Arguments
public static void main(final String[] args)
booleanInvert(Integer.MAX_VALUE);
booleanInvert(Integer.MAX_VALUE - 1);
private static void booleanInvert(final int max)
boolean test1 = false;
boolean test2 = false;
for (int i = 0; i < max; i++)
test1 = !test1;
for (int i = 0; i < max; i++)
test2 ^= true;
if (test1 != test2)
System.out.println("ERROR: Boolean invert\n\ttest1=" + test1
+ "\n\ttest2=" + test2);
} else
System.out.println("Everything as it should be!");
}Edited by: GandalfTheWhite on Feb 16, 2010 11:33 AM -
Dbx cannot locate the (DLM) source codes correctly for 64bit app
It's hard for me to prepare a test case. Because it seems for a simple "hello world" it works.
The reason I raise this issue here is because my project was recently upgraded to compile with 64bit. And since then dbx cannot locate the source codes correctly, especially for some DLM codes. (sometimes it shows to "/usr/include/iso/..." which it should never be!). While it works fine on a 32bit compiled mode.
Did anyone experience the similar situation and can share your idea?
Thanks in advance.Can't think of any good reason why going to 64 bit would confuse dbx (except for unknown bug in dbx, which is not impossible).
I'd first look for changes in your build - for example, 32-bit code used to go to bin/ directory, but 64-bit goes to bin/sparcv9, which happens to be a symlink somewhere else or something like that. Symlinks might sometimes confuse dbx, please read
(dbx) help finding-filestopic (in dbx console, type "help finding-files").
Since you are using CC 5.9 that generates DWARF info by default, location and even presence of .o files is not important. All debug info should be in the shared library itself.
Here's another idea: inspect DWARF info by hand and see if it looks correct to you.
$ dwarfdump a.out | lessLook for
DW_AT_name a.ccand
DW_AT_comp_dir /home/maxim/tempThose two should give location of source file (/home/maxim/temp/a.cc in my case). Maybe this will give you some clue.
Maybe you are looking for
-
Getting error while installing the Appication
Hi Team, I am trying to import one of appication into Dev Enveronment, which i have expored from my Live server. While importing i am not getting any issues but while installtion i am getting "NOT COMPATIBLE (Your export may contain calls not support
-
Hi, I am loading JVM ( 1.5 Ver) from Windows Application. JVM gets failed for the following JVM parameter -Xmx is 850MB. It is getting success for -Xmx is 845MB. My Application should support upto -Xmx value upto 2GB. May I know the reason why loadin
-
Showing the UoM in COPA Reports
Hi experts, Our clients sell many kinds of products, in which each of them can have a different UoM. Example: - Product A: 100 pc - Product B: 10kg That is why, we need to be able to show the UoM in the COPA Report. Well, as far as i know, there is a
-
Unable to take snap from front camera post ICS update on LIVE WITH WALKMAN
Hi, After ICS update of my live with walkman ,I am unable to take snaps from my front camera Not even in the camera menu its not showing wheather a front camera presents or not.... plz solve this ... i love to take snaps from my front camera...please
-
Bdoc Error"You must activate partial deliveries before you can specify "
Hi While doing the downloads of customers from ECC to CRM, I am getting an error in Bdoc "You must activate partial deliveries before you can specify a max. number" .We are running on CRM 6.0 connected to ECC 5.0 .I have checked the Note 1338378 but