Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8430899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:42:38+00:00 2026-06-10T05:42:38+00:00

I was trying to get the fbounds checking to work, but I did not

  • 0

I was trying to get the fbounds checking to work, but I did not succeed. I get a following error:

/tmp/cczxKZzn.s: Assembler messages:

/tmp/cczxKZzn.s:48: Error: invalid instruction suffix for `push’

/tmp/cc9xD8T3.s:125: Error: invalid instruction suffix for `pop’

while my makefile looks like this (with simple makefile everything is compiling properly):

all: error check

error: error.c
    /usr/local/gcc-4.0.2/bin/gcc -fbounds-checking -g -Wall -pedantic $< -o $@

.PHONY: clean check

clean:
    -rm error

check:  error
    ./error

Since that code has nothing to do with assembler, I don’t know what to do. Assembler problems are the only ones I can see in my google search on that topic.


Can You propose other solutions checking for example for being outside an array?
Such as (this is my error.c):

#include <stdio.h>
#include <stdlib.h>
int main()
{
  int a[1][10];
  a[0][11]=42;
  return 0;
}

EDIT. Can it be a version incompatibility; gcc 4.4+ is installed and I’m doing that with path to a little modified gcc 4.0.2 ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T05:42:40+00:00Added an answer on June 10, 2026 at 5:42 am

    Since that code has nothing to do with assembler, I don’t know what to
    do. Assembler problems are the only ones I can see in my google search
    on that topic.

    Looks like you’re invoking the wrong assembler – a 32 bit one, trying to compile a 64bit object code. Check your PATHs and flags.

    UPDATE: I never looked into how exactly gcc invokes its components. It’s still not very clear to me. Anyway, it looks like it doesn’t rely on PATH as I believed, but rather on its ./configure settings (–prefix, –build and so on).

    Mine, with --prefix=/usr, –build=x86_64-suse-linux, –program-suffix=-4.6, looks for its components in (with respect to the directory where thegcc` binary resides:
    – ../lib64/gcc/x86_64-suse-linux/4.6
    – ../lib64/gcc/
    – ../lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/x86_64-suse-linux/4.6/
    – ../lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/

    (checked with strace).

    Were a binary from another gcc present in one of those directories, it would get invoked instead of the ‘correct’ one.

    Try checking with gcc -v (or with strace) to see which as is being run.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im trying to implement a getBounds() method, but i cant get union to work;
I am trying get the data from my database but i am not getting
I am trying get Struts 2 and Tiles to work and I am using
Trying to get this expression to work, can someone look at it and tell
Hi am trying get GPS using network provider and GPS provider. but am getting
I'm trying get only the Saturdays and Sundays between two dates, but I don't
I am trying get content from the link https://....com:8455 where Server's certificate is not
When I'm trying get method from remote webservice it gives me error. My code
Trying to get these list headings to line up correctly, but I can't figure
I'm trying get LocalConnection to work between two swf's placed within two different IFRAMES.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.