Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

fixed the dynamic link problem with tengine in i686 box. #504

Merged
merged 1 commit into from
Sep 10, 2013

Conversation

yaoweibin
Copy link
Contributor

The compiler needs to know that __sync_add_and_fetch_4 is ok,
and this requires an instruction that didn't exist on i586 or i386.

The compiler needs to know that __sync_add_and_fetch_4 is ok,
and this requires an instruction that didn't exist on i586 or i386.
jeffkaufman added a commit that referenced this pull request Sep 10, 2013
fixed the dynamic link problem with tengine in i686 box.
@jeffkaufman jeffkaufman merged commit 94d004e into apache:master Sep 10, 2013
@jeffkaufman
Copy link
Contributor

Looks good; thanks!

# The compiler needs to know that __sync_add_and_fetch_4 is ok,
# and this requires an instruction that didn't exist on i586 or i386.
if [ "$uname_arch" = "i686" ]; then
$FLAG_MARCH='march=i686'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be FLAG_MARCH='-march=i686'

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in a48c243.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants