Gcc Internal Compiler Error Bus Error
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top gcc-5: internal compiler error: Bus error (program as) up vote 0 down vote favorite I'm trying to install Python 2.7.11 on my Ubuntu 14.04 LTS vServer (hosted at strato), because it's a requirement for letsencrypt. I'm using this tutorial, basically just replacing 2.7.9 with 2.7.11. Now when I'm trying to run ./configure I get the error C Compiler cannot create executables I have no idea what is causing this My config.log file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by python configure 2.7, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = h2577734.stratoserver.net uname -m = x86_64 uname -r = 3.13.0-042stab111.12 uname -s = Linux uname -v = #1 SMP Thu Sep 17 11:38:20 MSK 2015 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /us
Login: [x] User account creation filtered due to spam. Bug13906 - genmodes.c:964: internal compiler error: Bus error in md5_process_block Summary: genmodes.c:964: internal compiler error: Bus error in md5_process_block Status: RESOLVED FIXED Alias: None Product: gcc Classification: Unclassified Component: other (show other bugs) Version: 3.4.0 Importance: P2 normal Target Milestone: 3.4.6 Assignee: Not yet assigned to anyone URL: Keywords: build Depends on: Blocks: Reported: 2004-01-28 http://askubuntu.com/questions/783145/gcc-5-internal-compiler-error-bus-error-program-as 23:45 UTC by John David Anglin Modified: 2006-02-06 14:07 UTC (History) CC List: 2 users (show) gcc-bugs ghazi See Also: Host: hppa2.0-hp-hpux11.00 Target: hppa2.0-hp-hpux11.00 Build: hppa2.0-hp-hpux11.00 Known to work: Known to fail: Last reconfirmed: 2004-01-29 01:03:40 Attachments Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13906 comment on or make changes to this bug. Description John David Anglin 2004-01-28 23:45:28 UTC stage1/xgcc -Bstage1/ -B/opt/gnu/gcc/gcc-3.4/hppa2.0w-hp-hpux11.00/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -Werror -fno-common -DHAVE_CO NFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc /gcc/../include ../../gcc/gcc/genmodes.c -o genmodes.o ../../gcc/gcc/genmodes.c: In function `emit_mode_mask': ../../gcc/gcc/genmodes.c:964: internal compiler error: Bus error The configure command was: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as --enable-shared --with- local-prefix=/opt/gnu --prefix=/opt/gnu/gcc/gcc-3.4 --enable-debug=no --disable- nls --enable-checking="misc,tree,rtl,rtlflag,gc,gcac,fold" && The problem does not occur if `--enable-checking' is not specified. The stack trace is: Program received signal SIGBUS, Bus error. md5_process_block (buffer=0x7aed3f6e, len=64, ctx=0x7eff1500) at ../../gcc/libiberty/md5.c:325 325 OP (A, B, C, D, 7, (md5_uint32) 0xd76aa478); #0 md5_process_block (buffer=0x7aed3f6e, len=64, ctx=0x7eff1500) at ../../gcc/libiberty/md5.c:325 #1 0x00af0064 in md5_process_bytes (buffer=0x7aed3fae, len=96, ctx=0x7eff1500) at ../../gcc/libiberty/md5.c:239 #2 0x00270b84 in fold_checksum_tree (expr=0x7aed3f00, ctx=0x7eff1500, ht=0x40079aa0) at ../../gcc/gcc/fold-const.c:8408 ... The fault occurs because of a misaligned load for a word: 0x00af0184
Format For Printing -XML -Clone This Bug -Last Comment First Last Prev Next This bug is not in your last search results. Bug1063327 - gcc: internal compiler error: https://bugzilla.redhat.com/show_bug.cgi?id=1063327 Bus error (program cc1) Summary: gcc: internal compiler error: Bus error (program cc1) Status: https://lists.debian.org/debian-sparc/2012/04/msg00006.html CLOSED WORKSFORME Aliases: None Product: Fedora Classification: Fedora Component: gcc (Show other bugs) Sub Component: --- Version: 19 Hardware: i686 Linux Priority unspecified Severity high TargetMilestone: --- TargetRelease: --- Assigned To: Jakub Jelinek QA Contact: Fedora Extras Quality Assurance Docs Contact: URL: Whiteboard: Keywords: Depends On: Blocks: Show dependency tree /graph Reported: 2014-02-10 gcc internal 09:03 EST by Srdan Suka Modified: 2015-02-17 05:24 EST (History) CC List: 4 users (show) jakub law mpolacek srdan.suka See Also: Fixed In Version: Doc Type: Bug Fix Doc Text: Story Points: --- Clone Of: Environment: Last Closed: 2015-02-17 05:24:08 EST Type: Bug Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of gcc internal compiler Use) Add an attachment (proposed patch, testcase, etc.) Groups: None (edit) Description Srdan Suka 2014-02-10 09:03:52 EST Description of problem: bytecode_api.c: In function 'cli_bcapi_ilog2': bytecode_api.c:1012:5: internal compiler error: Bus error f = (1<<26)*log((double)a / b) / log(2); ^ gcc: internal compiler error: Bus error (program cc1) This is the critical funcion: int32_t cli_bcapi_ilog2(struct cli_bc_ctx *ctx, uint32_t a, uint32_t b) { double f; if (!b) return 0x7fffffff; /* log(a/b) is -32..32, so 2^26*32=2^31 covers the entire range of int32 */ f = (1<<26)*log((double)a / b) / log(2); return (int32_t)myround(f); } If I replace log(2) with log(x) and define x=2, or replace log(2) with numeric value, compiler does not register any problem. Version-Release number of selected component (if applicable): Name : kernel Arch : i686 Version : 3.12.9 Release : 201.fc19 Name : cpp Arch : i686 Version : 4.8.2 Release : 7.fc19 Name : gcc Arch : i686 Version : 4.8.2 Release : 7.fc19 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: Comment 1 Jakub Jelinek 2014-02-10 09:09:20 EST Please provide preprocessed testcase on which it can be reproduced, plus compiler options with which it can be reproduced. Comment 2 Srdan Suka 2014-02-10 09:20:27 EST Example test.c #ifdef HAVE_UNISTD_H #include
Internal Compiler error: Bus error randomly occurs. From: Kieron Gillespie