Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 17536
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: frank <frbiscani@libero.it>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 17536 depends on: Show dependency tree
Bug 17536 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-03-14 20:53 0000
I started bc with the -l switch and then tried to calculate "5/6"; bc
segfaulted. I tried to 
recompile it with no CFLAGS, then added one optimization at a time and
recompiled it 
each time. It came out that it was the "-Os" flag which caused it to segfault.
So I just 
added "replace-flags -Os -O2" to the ebuild and so the problem was fixed (at
least in 
Gentoo...). 

Reproducible: Always
Steps to Reproduce:
1. Compile bc with -Os 
2. Fire it up with -l switch 
3. Try to calculate some decimal value (5/6, 10/3 etc.) 
Actual Results:  
segfault 

Expected Results:  
print out right result

------- Comment #1 From Seemant Kulleen (RETIRED) 2003-03-14 21:13:20 0000 -------
fixed in portage.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug