Em 25-08-2013 16:03, Bruce Dubbs escreveu: > source /etc/profile > export CLASSPATH=.:/usr/share/java && export > PATH="$PATH:/opt/openjdk-bin/bin" && export JAVA_HOME="/opt/openjdk-bi/bin" > which javac > env LC_ALL=C ./build.sh -Ddist.dir=/opt/ant-1.9.2 dist > > > # which javac > /opt/openjdk-bin/bin/javac > > ... Bootstrapping Ant Distribution > ... Compiling Ant Classes > # > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0xb76f9e15, pid=2138, tid=3064154944 > # > # JRE version: (7.0_40-b31) (build ) > # Java VM: OpenJDK Client VM (24.0-b50 mixed mode linux-x86 ) > # Problematic frame: > # C [libc.so.6+0x127e15] __strstr_sse42+0x355 > > I'm just guessing here, but there may be a difference between the the > java version's expectation of glibc and your current version. > > Try > > cat > hello.java << EOF > public class hello > { > public static void main(String[] args) > { > System.out.println("Hello, World"); > } > } > EOF > > javac hello.java > java hello > > Are there any issues with that? > > -- Bruce >
Thanks, Bruce! This does not solve the problem, bit is really a progress, at last: # ldd --version ldd (GNU libc) 2.18 # cat /etc/lsb-release DISTRIB_ID="Linux From Scratch" DISTRIB_RELEASE="7.4-rc1" DISTRIB_CODENAME="lfs-jhalfs" DISTRIB_DESCRIPTION="Linux From Scratch" # uname -r 3.10.7 root [ /home/fernando/tmp ]# cat hello.java public class hello { public static void main(String[] args) { System.out.println("Hello, World"); } } root [ /home/fernando/tmp ]# env LC_ALL=C javac hello.java # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xb7707e15, pid=2583, tid=3064212288 # # JRE version: (7.0_40-b31) (build ) # Java VM: OpenJDK Client VM (24.0-b50 mixed mode linux-x86 ) # Problematic frame: # C [libc.so.6+0x127e15] __strstr_sse42+0x355 # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /home/fernando/tmp/hs_err_pid2583.log # # If you would like to submit a bug report, please include # instructions on how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla # Abortado root [ /home/fernando/tmp ]# Of course, Abortado=Aborted ***************************************************************** I was just going to send other experiments I was doing, when received your post: Built OK in x86_64, vmplayer. sed -i 's/jars,test-jar/jars/' build.xml env LC_ALL=C ./build.sh -Ddist.dir=/opt/ant-1.9.x dist BTW, very good this sed!!! dist_javadocs: [mkdir] Created dir: /opt/ant-1.9.x/manual/api [copy] Copying 1286 files to /opt/ant-1.9.x/manual/api internal_dist: [mkdir] Created dir: /opt/ant-1.9.x/etc [copy] Copying 1 file to /opt/ant-1.9.x/lib [copy] Copying 1 file to /opt/ant-1.9.x/lib [copy] Copying 22 files to /opt/ant-1.9.x/lib [copy] Copying 1 file to /opt/ant-1.9.x/lib [copy] Copying 230 files to /opt/ant-1.9.x/manual [copy] Copying 8 files to /opt/ant-1.9.x [copy] Copying 15 files to /opt/ant-1.9.x/etc BUILD SUCCESSFUL Total time: 42 seconds The following, in 1686, not VM, my main host, NovoGamerLFS71. ... BUILD SUCCESSFUL Total time: 25 seconds -- []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page